Retreives the details of a mapped drive.
DriveMapGet( "device" )
Parameters
device | The device (drive or printer) letter to query. Eg. "O:" or "LPT1:" |
Return Value
Success: | Returns details of the mapping, e.g. \\server\share |
Failure: | Returns a blank string "" and sets @error to 1. |
Remarks
None.
Related
DriveMapAdd, DriveMapDel
Example
; Map X drive to \\myserver\stuff using current user
DriveMapAdd("X:", "\\myserver\stuff")
; Get details of the mapping
MsgBox(0, "Drive X: is mapped to", DriveMapGet("X:"))