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
|