Skip to content

Instantly share code, notes, and snippets.

@TanisukeGoro
Last active October 1, 2017 14:10
Show Gist options
  • Save TanisukeGoro/e03dcfd654697147a4349073469da8b1 to your computer and use it in GitHub Desktop.
Save TanisukeGoro/e03dcfd654697147a4349073469da8b1 to your computer and use it in GitHub Desktop.
REM Base name
SET SAMPLE=%1
REM Absolute path for the location of RIETAN64.exe, seconds.exe, ALBA64.exe, etc.
SET RIETAN=C:\Program Files\RIETAN_VENUS
REM Absolute path for the location of ALBA.exe
SET ALBA=C:\Program Files\RIETAN_VENUS\
SET PATH=C:\Program Files\RIETAN_VENUS\Commands;%PATH%
FOR /F "USEBACKQ" %%T IN (`"%RIETAN%\seconds.exe"`) DO SET BEFORE=%%T
"%RIETAN%\RIETAN.exe" "%SAMPLE%.ins" "%SAMPLE%.int" "%SAMPLE%.bkg" "%SAMPLE%.itx" "%SAMPLE%.hkl" "%SAMPLE%.xyz" "%SAMPLE%.fos" "%SAMPLE%.ffe" "%SAMPLE%.fba" "%SAMPLE%.ffi" "%SAMPLE%.ffo" "%SAMPLE%.vesta" "%SAMPLE%.plt" "%SAMPLE%.gpd" "%SAMPLE%.alb" "%SAMPLE%.prf" "%SAMPLE%.inflip" "%SAMPLE%.exp" | "%RIETAN%\Commands\tee.exe" "%SAMPLE%.lst"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment