@echo off

set mxd=d:\Programs\MD\MXD\exec\mxdorto.exe
set tee=d:\Programs\bin\tee.exe
rem set conv=d:\Programs\MD\MXD\exec\MXDFileConv.exe
set conv=d:\Programs\bin\MXDFileConv.exe
set file=%1
set outfile=%2
set nInterval=%3

if "%2" == "" goto NOARG

echo %conv% --Action=AddHistoryCSV %file% %outfile% --nOutputInterval=%nInterval%
%conv% --Action=AddHistoryCSV %file% %outfile% --nOutputInterval=%nInterval%

goto END


:NOARG
echo ============================================
echo    AddHistory Input.f06 Output.csv
echo ============================================
goto END

:END
