Last active
August 1, 2021 17:16
-
-
Save DouglasAntunes/7a4111df12e3cde9e968b64130cf8d49 to your computer and use it in GitHub Desktop.
Batch converts files to wav using fsb_aud_extr.exe to converted folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
REM ################################################################################# | |
REM BATCH CONVERT FSB TO WAV LICENSE: MIT | |
REM ################################################################################# | |
REM Folder Structure: | |
REM rootFolder/ | |
REM ├── original/ :input for .snd & .igz files | |
REM │ └── ... (input for .snd & .igz files) | |
REM ├── converted/ | |
REM │ └── ... (output files) | |
REM ├── fsb_aud_extr.exe | |
REM ├── ... (other libs & files) | |
REM └── Batch Convert FSB to WAV.bat | |
REM . | |
REM ################################################################################# | |
REM Created by DouglasAntunes(BlackBurnBR007) https://github.com/DouglasAntunes | |
REM Find Updates of this script on: | |
REM https://gist.github.com/DouglasAntunes/7a4111df12e3cde9e968b64130cf8d49 | |
REM ################################################################################# | |
REM . | |
ECHO ### Converting files to WAV ### | |
ECHO. | |
FOR /R .\original\ %%G IN (*.snd *.igz) DO ( | |
fsb_aud_extr.exe .\original\%%~nxG | |
MOVE %~dp0*.wav %~dp0converted\ > NUL | |
) | |
ECHO. | |
ECHO ## DONE. ### | |
PAUSE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your code don't move files to converted code.
Change
MOVE %~dp0*.wav %~dp0converted\ > NUL
to
MOVE %~dp0original*.wav %~dp0converted\ > NUL