rename files with a batch running vista

Started by Archive, May 12, 2010, 08:54:20 AM

Previous topic - Next topic

Archive

[Originally posted by baba on 2008-05-04 12:22:57-07]

Hello!

I tried several hours to figger out how a command line should look like in a batch. I run a system using windows vista a look for 2 final goals:

A batchfile with a command which will rename all images in the aktual dir according the date and time I shot this picture. Sould look like 2008-05-02_10h06m12s.jpg

And the same command for the program GeoTagger.

Is there anybody how can help me?

Thanks
Stephan

Archive

[Originally posted by exiftool on 2008-05-04 20:28:28-07]

look at the renaming examples in the application
documentation.  There is an example that does
almost exacly this.  In a Windows batch file just replace
all % with %%.

Archive

[Originally posted by baba on 2008-05-06 18:25:36-07]

Thanks for your help so far. The first part works well, but what to do with %%-c to include a counter?
-d %%Y-%%m-%%d_%%H"h"%%M"m"%%S"s"%%-c.%%e. %%-c and %%e do not work. Stephan.

Archive

[Originally posted by exiftool on 2008-05-06 21:59:22-07]

Hi Stephan.  Try %%%%-c.   - Phil

Archive

[Originally posted by baba on 2008-05-07 19:28:27-07]

Hi! Thanks a lot. Works now if I use this in a batch but it still does not work with GeoSetter. Stephan