Thanks, Hank!
>>Hi Gang!
>>
>>Question.....
>>
>>Given a FoxPro EXE that is located in a folder somewhere..... could be ANYWHERE on the network.
>>
>>Any built in fuction or home made procedure that can give me the DRIVE (or VOLUME) and the PATH to where the EXE is located, when it is running?
>>
>>The EXE can be run from some other FoxPro EXE, so it will NOT be started from a Windows Shortcut. It should be able to be tested by double-clicking on the EXE, wherever it is located.
>>
>>
>>Thanks
>
>justpath(sys(16,0)) will give you the path if it is running as an EXE and not a COM object.
>
>Hank
Tommy Tillman A+ NetWork+ MCP