[O/T] batch Rename Files in XP

flash1100

Senior Member
Messages
2,174
Reaction score
1
Location
Perth Western Australia, AU
In my excitement to use the K7 at it's first motorcycle racing event today I forgot to check that the card I used was formatted and blank. So... now I have about 200 images that have the filename starting from the last image I took with the K10D.

I would like to rename the files (PEF). I am happy just to append an a or somesuch to the filename rather than sequencially rename them. I can't recall how to do it in DOS. I use XP, Silkypix and have a trial version of Lightroom 2.

If anyone has any tips I would really appreciate them.

TIA
--
Cheers

Gordon
Perth, Western Australia
K-7
http://www.flashpixx.net
http://www.pbase.com/gordonhaywood/

http://www.pentaxphotogallery.com/home#section=ARTIST&subSection=123519&subSubSection=0&language=EN
 
Irfan View is shareware, and has a great batch/rename function.

Otherwise, in a CMD window navigate to the folder containing the files and :

ren . new.
where "new " is what you want appended

Should work I think...
--
John Cafarella
Melbourne, Australia
 
To rename all jpeg files from the cmd prompt to a prefix of new plus the original filename you'd need to use the following

forfiles /M *.jpg /C "cmd /c ren @file new@file"

forfiles process all the files defined by the mask (eg. /M *.jpg)
Using /C allows you to run a command on all the files

To rename all pef files you'd use the fllowing

forfiles /M *.pef /C "cmd /c ren @file new@file"

The quotes are mandatory by the way.

BUT. I'd use a utility like Ifanview rather than these commands - they're dangerous.

--
http://www.pentaxphotogallery.com/jamesverhoeven
http://community.webshots.com/user/jimbob_productions
 
Total Commander has a great rename tool as well (CTRL+M), you can rename files and extensions, there are a lot of choices.
 
Gordon, Lightroom is very easy to use to rename photos - go into the program, select the files, press then make your choices...
--
Dennis

 
Thanks everyone for your responses. I am way to chicken to use the cmd prompt in XP, so as Jim suggested I looked for something else. Fortunately I didn't have to look far. Silkypix has a batch rename command that gives the option to rename the files using the same nomenclature as the Pentax PEF files. So I just renumbered them starting from the last image I took with the K7. Easy!

Cheers

Gordon
Perth, Western Australia
K-7
http://www.flashpixx.net
http://www.pbase.com/gordonhaywood/

http://www.pentaxphotogallery.com/home#section=ARTIST&subSection=123519&subSubSection=0&language=EN
 

Keyboard shortcuts

Back
Top