Rob van der Woude's Scripting Pages
Powered by GeSHi

Source code for login_connect_network_drives.bat

(view source code of login_connect_network_drives.bat as plain text)

  1. NET USE G: \\CompanyServer\Dept /PERSISTENT:No
  2. IF ERRORLEVEL 1 (
  3. 	ECHO Error mapping drive G:
  4. )
  5.  
  6. NET USE H: \\CompanyServer\%UserName% /PERSISTENT:No
  7. IF ERRORLEVEL 1 (
  8. 	ECHO Error mapping drive H:
  9. )

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