>I know I should know this, but I've long forgotten. I have a new temporary BAT that checks for NT or XP OS to do installs via SMS. How does the DOS OS check code work? Something like this, in pseudocode:
>
>If OS = NT install this
>
>If OS = XP install that
I don't think there's anything that distinguishes the OS from a .BAT file level. All I see for OS under XP and W2K is Windows_NT.
Maybe you can do a VER > version.txt and somehow parse it? My .BAT skills are way rusty.