im trying to create an convert button like the one for images. But mine for AUDIO/VIDEO files.
I have created an very ugly bloaty script now which converts from one format to another. Can I improve my script with using JS? Or what would be better than what I have now?
@echo off
setlocal ENABLEDELAYEDEXPANSION
for /r %%s in (*.%1) do (
set tmp=%%s
ffmpeg.exe -i "!tmp!" "!tmp:~0,-4!.%2"
)