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 modified: 2024-04-16; loaded in 0.0063 seconds