REM Base name SET SAMPLE=%1 REM Absolute path for the location of rietan.exe, orffe.exe, etc. set BaseDir=%RootDir%\X\RIETAN-FP SET ORFFE=%BaseDir%\RIETAN_VENUS REM Input *.xyz: ORFFE instructions. REM Output *.dst: Sandard output. "%ORFFE%\orffe.exe" "%SAMPLE%.xyz" > "%SAMPLE%.dst"