Function Reference


DriveMapGet

Retrieves the details of a mapped drive.

DriveMapGet ( "device" )

Parameters

device The device (drive or printer) letter to query, e.g. "O:" or "LPT1:"

Return Value

Success: a details of the mapping, e.g. \\server\share
Failure: Empty string and sets the @error flag to 1.

Related

DriveMapAdd, DriveMapDel

Example

#include <MsgBoxConstants.au3>
; Map X drive to \\myserver\stuff using current user
DriveMapAdd ("X:","\\myserver\stuff")
; Get details of the mapping
MsgBox ($MB_SYSTEMMODAL,"","Drive X: is mapped to: "&DriveMapGet ("X:"))

AltStyle によって変換されたページ (->オリジナル) /