Not an ffmpeg question, but...

On 3/28/2022 9:15 AM, CMG DiGiTaL wrote:
I tried:
FOR %%a %%e IN (*.*) DO (
   SET "filename=%%~na"
   SET "extension=%%~xe"

The FOR command looks like it doesn't accept two variables!

Nope, it doesn't. I think you could make the set '(*.mp3 *mp4 *.wav)' etc. I'd use this to just get files that are expected to contain audio (otherwise you have to look at each file's contents to see if it's valid audio, and that adds complexity).

This is all documented at https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/for

z!
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to