@echo off

for %%I in ("INPUT_FILES\*.*") do (
	ffmpegXP.exe -i "%%I" -acodec pcm_s16le -ar 22050 -ac 2 -vn -sn "%%~nI.wav"
	impditt.exe "%%~nI.wav"
	splt2int.exe "%%~nI.asf" "OUTPUT_FILES\%%~nI.asf"
	del "%%~nI.wav"
	del "%%~nI.asf"
)

exit