This is your code that checks for each operating system:
code:
VER | find "NT" > nul 
IF not errorlevel 1 GOTO Win_NT

VER | find "2000" > nul
IF not errorlevel 1 GOTO Win_NT

VER | find "XP" > nul
IF not errorlevel 1 GOTO Win_NT

VER | find "98" > nul
IF not errorlevel 1 GOTO Win_9X

VER | find "95" > nul
IF not errorlevel 1 GOTO Win_9X

You will need to execute VER on a Windows ME computer to see what is displayed and add code similar to that above for Windows ME.

OR

You can use the batch file code I posted a few messages ago.
_________________________
Home page: http://www.kixhelp.com/hb/