@echo off
rem
rem Write a batch file to go back to the current directory
c:\datac\buckcoil\run\home.exe
copy home.bat c:\datac\buckcoil\run\gohome.bat
del home.bat
rem
rem Go to the buckcoil directory
cd c:\datac\buckcoil\run
rem
rem Run the measurement program
buckcoil.exe
rem
rem Protect the data files by making them read only
call fileprot.bat
echo. 
echo The coil measurement is finished.
echo.   
pause
echo.
echo The data will be printed now.
call fileprnt.bat
echo.
echo The data will be plotted now.
call fileplot.bat
rem
rem Do the block motion analysis
rem call movblock.bat
rem
rem Return to the home directory
call gohome.bat
del \datac\buckcoil\run\gohome.bat
@echo on
