>>Hi,
>>
>>I have tried to get the entire network path '\\SERVER\Folder\Program.exe' instead of 'P:\Folder\Program.exe', but without success. How is this done??
>
>I'm not sure that this is what you're looking for, but the API call WNetGetConnection may come close. This will return the remote name to the connection. Here's the declaration:
>DECLARE INTEGER WNetGetConnection IN Win32API;
> STRING @lpszLocalName, STRING @lpszRemoteName, ;
> INTEGER @lpcchBuffer
>The first parameter is the drive letter, the second is the buffer, which should be at least 260 characters, and the third is the size of the buffer. All are passed by reference. The return value will be zero if the function succeeds.
>
>hth,
Thanks,
Exactly what I was looking for.
(using VFP 3.0 for Win & Mac)