Hello,
I use
exiftool.exe -d "AAAA-%Y-%m-%d--%H-%M-%S%%-c.%%e" "-filename<datetimeoriginal" *.AVI
to get this output:
AAAA-2011-07-31--19-50-21.AVI
in Windows Vista.
From the command line this works fine,
but from a bat file I get this:
AAAA-m-H-S.AVI
I experimented a lot but couldn't get it to work.
Regards,
Enno
Hi Enno,
The "%" character is special in a Windows .bat file. You must replace each % with %% when you use a command in a .bat file.
- Phil
Hi Phil,
cool, it works!
Thanks a lot, you are a guru!
Enno