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-
Putexcel with row and column name labelsI am trying to export tables from stata to word using putexcel, where the row and column variables h…
"No observations" problemHello, I have a problem when generating new variables out of existing one. I have a variable "pclas…
ivreghdfe runs a long time after convergenceHello everyone. I am performing an IV-Regression with multiple fixed effects. My dataset contains a…
Defining varlists for temporary variablesI'm stumped on how to create a varlist vt that contains the temporary variables Code: `_ty1' `_ty2'…
analyzes of companies accountsI am trying to make an analysis of all danish companies accounting for some years. Do any one have m…
Subscribe to:
Post Comments (Atom)
0 Response to Saving the output of -which-
Post a Comment