@echo off
rem
rem Write a batch file to go back to the current directory
c:\datac\herquad\run\home.exe
copy home.bat c:\datac\herquad\run\gohome.bat
del home.bat
rem
rem Go to the herquad directory
cd c:\datac\herquad\run
rem
rem Run the integrated field strength program
herquad.exe
rem
rem Protect the data files by making them read only
call fileprot.bat
cls
echo. 
echo The integrated quadrupole measurement is finished.
echo.   
echo The data will be printed now.
pause
call fileprnt.bat
echo.
echo The parameter file will be printed now.
call lprint ..\src\param.inc
echo.   
echo You can now view plots of the data and print the plots.
pause
call fileplot.bat
rem
rem Return to the home directory
call gohome.bat
del \datac\herquad\run\gohome.bat
@echo on
