Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get entire network path
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00098744
Message ID:
00098962
Views:
37
>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??

Try using the Win32 API call WNetGetConnection() to translate the drive letter to a UNC after determining that it's a network drive.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform