>I have an exe(exe1) on the c: drive. In exe1, I kick off anther exe(exe2)located on my o: drive. Within exe2 I call:
>var1 = FULLPATH("exe2")
>so that I can get the path to exe2. I am expecting var1 to equal "o:\", however it takes on the path of the original exe and makes var1 equal to "c:\". How can I get the path to exe2?
>
>Thanks - Ed
When you call another exe (exe2) you do it by two ways :
- drive:\path\exe2.exe && In this case you already know the path and pass it as parameter.
- exe2.exe && In this case it's located in DOS search path, so use fullpath("exe2.exe",1)
Cetin