Robert Treadwell
asked on
Retrieve Full FilePath from saved file using Mapped Drives
I have lotusscript that is detaching OLE objects to end user selected file location. If the user uses a mapped drive I want my script to determine the actual file location on the server.
ie.
if "Z:\filename.xxx is returned, I need to know server and filepath.
ie.
\\server\filpath\filename. xxx
ie.
if "Z:\filename.xxx is returned, I need to know server and filepath.
ie.
\\server\filpath\filename.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
net use > list01.txt
should show the connected, mapped drives.
You will need to parse it and then substitute as needed.
I hope this helps !