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
IV Probit error: "could not find initial values"Hello All! Does anyone have an idea why this error message could be popping up? Or what does it mea…
Proportional Reduction in Error and Percent Correctly Predicted after Multinomial ProbitDear Colleagues, I am using Stata 14.2 to estimate a multinomial probit model of vote choice in the…
Drop observations after the last non missing value a variableHi, I would like to drop observations after the last non missing value of the variable WC01001A by …
Help on labeling categorical variablesHello I'm working with my data file but find difficulty on labelling derived categorical variables.…
matsize and Pesaran estimationLadies & Gentlemen, up to 7 regressors, STATA could produce regression output successfully. When…
Subscribe to:
Post Comments (Atom)
0 Response to Obtain actual Stata executable name
Post a Comment