[This is preliminary documentation and subject to change.]
The MapNetworkDrive method maps the share point specified by strRemoteName to the local resource name strLocalName.
WshNetwork.MapNetworkDrive strLocalName, strRemoteName, [bUpdateProfile], [strUser], [strPassword]
Set WshNetwork = Wscript.CreateObject("Wscript.Network")
WshNetwork.MapNetworkDrive "Z:", "\\Server\Share"
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.