Dear All,
c(sysdir_stata) gives us the folder where the currently running Stata is installed. I am looking for an additional detail on what is the actual name of the Stata executable (*.exe on Windows platform) within that folder. I permit that:
- that folder may contain unrelated files, including executables;
- that folder may contain multiple Stata executables (for various flavors);
- the user may have renamed the executable file to differ from the default how it is distributed by StataCorp.
That said, I need the full name of exactly that executable that is currently executing my code (it may be something like "c:\Program Files\Stata16\StataMP-64.exe")
PS: Given the recent renames of the product described in the manual I am trying to avoid hardcoding any fixed names or introduce logic based on c(os) or c(machine_type) that may not be future-proof.
Thank you, Sergiy
Related Posts with Obtain actual Stata executable name
Help needed in loopsHi all, I am using Stata 17 and would need some help in my loops. Below is an example of my dataset…
Generalise value of dummy variable to all observations of a given panel IDHi, I need to set the value of a dummy variable = 1 for all observations of a given panelID, if it …
ForecastingI have been using STATA to do some forecasting on stock market data. When I generate the forecasts a…
No observations r(2000)Dear everyone, I am working on my masters thesis and I am trying to make a twostep system gmm regre…
Creating a categorical variable with multiple dummy variablesHello everyone, I am looking for a way to create one categorical variable out of multiple dummy var…
Subscribe to:
Post Comments (Atom)
0 Response to Obtain actual Stata executable name
Post a Comment