In tip 1826 and links, we can determine what type of Windows NT or Windows 2000 you
are logged onto.
If you are looking for a simple script snipit, try:
if /i NOT "%OS%"=="Windows_NT" goto W9x Ver|Find /i "Windows NT">NUL If ErrorLevel 1 GoTo W2K REM Windows NT here goto continue :W2K REM Windows 2000 here GoTo continue :w9x REM Not WinNT or W2K :continue
0 comments
Hide comments