Home | Troubleshooting |  Quick Setup  |  Cisco How to  |  Data Recovery  |  Forums   | Blog | IT Exam Practice | Services  | About Us | Chicagotech MVP  | Search  | Contact Us  |                  Laptop for rent: $35 per day plus $10 for additional day

rental
 

 

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-2018 ChicagoTech.net, All rights reserved. Unauthorized reproduction forbidden.