Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for login_reconnect_network_drives.vbs

(view source code of login_reconnect_network_drives.vbs as plain text)

  1. Set wshNetwork = CreateObject( "WScript.Network" )
  2. wshNetwork.RemoveNetworkDrive "G:", True
  3. wshNetwork.MapNetworkDrive    "G:", "\\CompanyServer\Dept"
  4. Set wshNetwork = Nothing

page last uploaded: 2021-01-27, 16:12