@echo off
rem
rem Write a batch file to go back to the current directory
c:\datac\injquad\run\home.exe
copy home.bat c:\datac\injquad\run\gohome.bat
del home.bat
rem
rem Go to the injquad run directory
cd c:\datac\injquad\run
rem
rem Run the measurement program
revtest.exe
rem
rem Protect the data files by making them read only
call fileprot.bat
cls
lprnt.exe
rem Copy files to temp plot.dat files for plotting
call fileplot.bat
rem Update magnet summary files and backup data
quaddone.exe
rem Clean up directory before leaving...
del prnt.dat
rem Return to the home directory
call gohome.bat
del \datac\injquad\run\gohome.bat
@echo on
