You are on page 1of 1

echo 

off
:begin

capture q=\\shwong\hp

main0.exe
if errorlevel 6 goto end
if errorlevel 5 goto end
if errorlevel 4 goto display
if errorlevel 3 goto run
if errorlevel 0 goto end
:run
del output\offpipe1.out
del output\offpipe2.out
del output\offpipe3.out
del output\offpipe4.out
del output\offpipe.out
del scratch\CHAIN1.SCR
del scratch\CHAIN2.SCR
del scratch\LISTFL.SCR
del scratch\PLOT_STS.SCR
del output\hardplot.plt
del output\prtabl.plt
del output\profil.plt
del output\hstabl.plt
del output\histor.plt
main1.exe
main2.exe
main3.exe
main4.exe
cd output
copy/a offpipe1.out+offpipe2.out+offpipe3.out+offpipe4.out offpipe.out
rem **** copy/a offpipe1.out+offpipe2.out+offpipe4.out offpipe.out
cd ..
:display
main5.exe
if errorlevel 6 goto end
if errorlevel 5 goto begin
:end
mode co80

You might also like