@echo off call setenv.bat t s n n call showenv.bat set a0= if exist rpl4d3s.exe set a0=rpl4d3s.exe if exist rpl4d2s.exe set a0=rpl4d2s.exe if exist rpl4d0.exe set a0=rpl4d0.exe if exist rpl4opt.exe set a0=rpl4opt.exe if "%a0%"=="" goto error if "%1"=="" set aa=test if not "%1"=="" set aa=%1 echo on 32rtm.exe -x %a0% -egg %aa%.egg 32rtm.exe -u @echo off set aa= goto end :error echo. echo Program not found in current directory. echo. :end set a0=