@echo off
rem
rem Write a batch file to go back to the current directory
c:\datac\herdcoil\herdhar\home.exe
copy home.bat c:\datac\herdcoil\herdhar\gohome.bat
del home.bat
rem
rem Go to the herdhar directory
cd c:\datac\herdcoil\herdhar
rem
rem Run the integrated field strength program
herdhar.exe
rem
rem Protect the data files by making them read only
call fileprot.bat
cls
echo. 
echo The harmonics measurement is finished.
echo.   
echo The data will be printed now.
pause
call fileprnt.bat
echo.
echo Two copies of the parameter file will be printed now.
call lprint src\param.inc
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\herdcoil\herdhar\gohome.bat
@echo on
