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.