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



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

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

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


Related Topics


Previous Page   Next Page




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