I have written an ado command that calls a native executable (an exe file in Windows). Users have trouble understanding that they need to place the executable file in the OS execution path, or edit the search path. I am thinking that I could have the .ado file learn the location it was loaded from, and look for the executable there. -net install- could then install the executable in that directory and everything would be automatic. -Net install- even has the ability to chose the appropriate architecture for the target computer, so I think this is something that has come up before. The -which- command returns the appropriate location, but is there a way for the ado program to convert that output to a macro? Any other way to achieve that end? I don't see a creturn value for this, which is where I expected to find something appropriate.
Related Posts with Saving the output of -which-
studentI am conducting a meta analysis of prevalence studies in Stata. Stata displays proportions in table …
meta analysis of proportionsI am conducting a meta analysis of prevalence studies in Stata. Stata displays proportions in table …
Parallel Trends DIDDear StataList Users, I am using a Difference in Difference Model but I am facing a challenge in es…
interaction termHello, I want to apply Burrill 2007 method for interaction term, to avoid multicollinearity. Burril…
See the duplicates observations in data editor screenHello everyone, I wish to see the duplicates observation in data editor screen, what command I have…
Subscribe to:
Post Comments (Atom)
0 Response to Saving the output of -which-
Post a Comment