> In the following NetWare 6.5 login script, how would I differentiate
> between XP (as in WINNT in the "IF OS =" line) and Windows 7?
XP, Vista and Windows 7 all return WINNT for the OS variable. However
you can additionally test the OS_VERSION variable since that is
different - XP = V5.01 (2000 was V5.00), Vista = V6.00 and Windows 7 =
V6.01.
So your login script becomes
> REM IN THE FOLLOWING CODE THE # IS A RUN COMMAND FOR THE PROGRAM
> IF OS = "WINNT"
IF OS_VERSION = "V5.01"
> WRITE "Checking Novell Client revision level . . . ."
> #\\Server\sys\PUBLIC\CLIENT\NWClient XP-4.91\acu.exe
> IF "%ERROR_LEVEL" = "1" THEN
> EXIT
> END
END
> END
HTH.
--
Simon
Novell Knowledge Partner (NKP)
------------------------------------------------------------------------
Do you work with Novell technologies at a university, college or school?
If so, your campus could benefit from joining the Novell Technology
Transfer Partners (TTP) group. See www.novell.com/ttp for more details.
------------------------------------------------------------------------