? JUSTPATH(_VFP.ServerName)
? JUSTPATH(SYS(16,1))
>I have a vfp exe that is normally called from an icon on the desktop and everything is groovy.
>
>Now the app has been copied to another environment where a menuing utility is used to call the app. According to the person who put the utility together, he is using SHELL to call the app. He says that SHELL does not provide a "Start In" option (like the property on a desktop icon).
>
>So when the app is lauched SYS(5) + CURDIR() reports the location of the menu utility as the current default. This is causing a problem in the app.
>
>Whats the best way to determine the VFP Exe location.
>
>Thanks,
>
>PF
--sb--