Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off & cd /d "%~dp0"
- >nul 2>&1 mkdir "%~dp1vgmstream"
- title <nul & title vgmstream Decoder
- set "_out=%~dp1vgmstream\%%%%~nG.wav"
- set "_log=%~dp1vgmstream\vgmstream.log"
- set "_vgmstream=%~dp0vgmstream-cli.exe"
- for /f usebackq^delims^= %%G in =;(`
- "dir /b /a:-d "%~dp1*.wav""
- `);= do >>"%_log%" =;(
- echo/[%date:~-10,2%/%date:~-7,2%/%date:~-4,4% @ %time:~0,2%:%time:~3,2%]
- echo/Infile: %%~nxG
- echo/Size: %%~zG bytes
- echo/Codec: WAV
- echo/Outfile: %%~nG.wav
- echo/
- );= && call "%_vgmstream%" "%~dp1%%~nxG" -o "%_out%"
- "%__AppDir__%timeout.exe" /t 5 | start "" /b notepad "%_log%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement