Set wshNet = CreateObject("WScript.Network") wshNet.MapNetworkDrive "G:", "\\server\laufwerk\",,"username","pwd"