This should also work for every OS Microsoft makes, except Windows 3.1, but if you're running Windows 3.1 you have BIGGER PROBLEMS then trying to get KiXtart running.

code:
@ECHO OFF
IF NOT "%OS%" == "Windows_NT" GOTO WIN9X
VER|FIND /I "XP" >NUL && IF %ERRORLEVEL% EQU 0 GOTO XP
IF not "%ALLUSERSPROFILE%" == "" GOTO WIN2K
IF "%OS%" == "Windows_NT" GOTO NT4
GOTO END
:XP
ECHO Found Windows XP
REM Or what ever command you want to run.
GOTO END
:WIN2K
ECHO Found Windows 2000
REM Or what ever command you want to run.
GOTO END
:NT4
ECHO Found Windows NT 4
REM Or what ever command you want to run.
GOTO END
:WIN9X
ECHO Found Windows 9x
ECHO You should see this on Windows ME
pause
REM Or what ever command you want to run.
GOTO END
:END

Pech... One of these postings HAS to work. If you copy and use the code above on an ME workstation you should see it as it pauses. Then try it as the only logon bat for a specific account for testing ME. If you don't see it then you have some other problem happening where perhaps the logon is being bypassed by the OS due to some other setting.