I created this batch file to put all aac files in one directory into an m4a container. The command works so far, but every new file generated has the format of the input file in the output files name.
For example: test(.aac) is in an m4a container but is NAMED test.aac(.m4a)
Here is the .bat file:
for /r %%X in (*.*) do (
ffmpeg -i "%%X" "%%X.m4a"
)
pause
I'll be grateful for any easy solution, best regards and thanks to everyone
you need to extract just the name without extension
see
HELP FOR
for an explanation of the%%~dpn
syntax, in shortI have also changed a bit the
FOR
selection mask to iterate only over .aac files.