@echo off
rem
rem Write a batch file to go back to the current directory
c:\datac\hersex\run\home.exe
copy home.bat c:\datac\hersex\run\gohome.bat
del home.bat
rem
rem Go to the hersex directory
cd c:\datac\hersex\run
rem
rem Run the integrated field strength program
hersex.exe
rem
rem Protect the data files by making them read only
call fileprot.bat
rem Print the data and parameter files
cls
lprnt
echo You can now view plots of the data and print the plots.
pause
call fileplot.bat
rem
rem Backup the data and update the summary files
sextdone
rem Return to the home directory
call gohome.bat
del \datac\hersex\run\gohome.bat
del \datac\herdcoil\herdsex\prnt.dat
@echo on
