General information
Category:
Windows API functions
The easiest way I can think of is to scan all drives and see if there's one connected to a specific remote path. You can use GetLogicalDriveStrings() to enumerate the drives and WNetGetConnection() to get the remote path associated with a drive letter.
If you're using VFP, you can use my DriveInformation class (from the Files section) to retrieve this info in a easier way.
Vlad
>Any other way to find a local letter for a network drive?
>Thanks Mark
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only