@echo off

win %1 %2 %3 %4 %01

if errorlevel 101 goto done
if errorlevel 100 goto normal_exit
if errorlevel   0 goto error_1


rem *-----------------------------------------------------------------------
rem * Error_1  Can't find windows
rem *-----------------------------------------------------------------------
:error_1
cls
if exist %0.tmp goto normal_exit
rem echo INSTALL: Could Not Find Windows.  Check Path and run again.
echo INSTALL: Could Not Find Windows, or could not create temp file.
echo          To run INSTALL, you must have a path set to Windows, and at
echo          least [RWCEMFA] rights in the installation and windows directories.
goto done


rem *-----------------------------------------------------------------------
rem * Errorlevel 0- Normal Completion for install1
rem *-----------------------------------------------------------------------
:normal_exit
rem echo normal_exit
rem if errorlevel 100 echo level 100
rem if errorlevel 101 echo level 101
rem if errorlevel 0 echo level 0
%02 %0.tmp


rem *-----------------------------------------------------------------------
rem * Terminate the batch file
rem *-----------------------------------------------------------------------
:done
rem echo done
rem if errorlevel 100 echo level 100
rem if errorlevel 101 echo level 101
rem if errorlevel 0 echo Installation not Completed!



