|I'm using the batch script to convert wav files to m4a via a file called faac.exe.|
If i put brackets around the filename (like this: D:\faac "%D%.wav" -w -q 500 -o %D%.m4a) it says "Cannot encode several input files to one output file".
I don't know exactly why, because when I'm converting without this script it works fine with the brackets.
But as I already said this is my first batch script, so I may have written something wrong?
The code for the non-working section looks like this:
set /P D=Insert the name of the file you want to convert:
D:\faac "%filename%.wav" -w -q 500 -o %filename%.m4a
(The third line is options from faac.exe, I'm sure these are right. So if something isn't right, it must be somewhere in the batch part.)