Home | Troubleshooting |  Quick Setup  |  Cisco How to  |  Wireless  |  Forums   | Site Map | Services  | About Us | Chicagotech MVP  | Search                          

Clearapps network inventory
software.

 

How to run a logon script based on OS

Situation: There are different Windows OS, win98 and 2000/XP, in your network. You will run different logon scripts for the different OS, for example, for win98, run win98.bat while 2000/xp run nt.bat.

Here is the sample:

IF "%OS%" == "Windows_NT" goto NT_OS
goto WIN_95

:NT_OS
wscript \\chicagotech\netlogon\logon3.vbs
goto END

:WIN_95
net use m: \\chicagotech\apps
net use h: /home
goto END

:END

Related Topics

 

Previous Page   Next Page
 

 


 

 

Hit Counter   This web is provided "AS IS" with no warranties.
Copyright 2002-2013 ChicagoTech.net, All rights reserved. Unauthorized reproduction forbidden.