Malcolm Campbell wrote in a message to All:
MC> What I would like to do, but don't know how, is to determine
MC> at login time which OS the client is running, and force a
MC> virus scan with the appropriate scanner i.e.
MC> Thunderbyte for DOS and Win 3.1x
MC> Thunderbyte for Win95
MC> Thunderbyte for WinNT
MC> Can anyone tell me, from within the login script, how to
MC> determine which DOS or Windows the client is running?
For NW 3.12, You can use the predefined symbols "%OS" and "%OS_VERSION" in
your login scripts:
IF "%OS" = "MSDOS" THEN #VC_DOS.BAT
IF "%OS" = "WIN95" THEN #VC_W95.BAT
And so forth.
MC> Any help would be gratefully appreciated!
This is well documented in the manuals with regard to login scripts.
-- Mike
---
---------------
* Origin: N1BEE BBS +1 401 944 8498 V.34/V.FC/V.32bis/HST16.8 (1:323/107)
|