I have problem to display the errorlevel of kixstart script on Win95 workstations

;logon batch file
%windir%\kix32.exe logon.kix
echo RAS connections = %ERRORLEVEL%
if NOT ERRORLEVEL 0 goto end

;logon.kix
;some kix commands
exit @RAS

For WinNT exit code is displayed properly (no matter @RAS=0 or @RAS<>0), but for Win95 %ERRORLEVEL% variable is not set at all.

Any help would be appreciated,

Robert