Tuesday, September 22, 2009

4. Rename multiple files in a single shot



Need to change extension of 1000 files listed in a search result. Want to rename multiple files in a single shot.

please follow the below simple steps

STEP 1 : Copy all the files that you wanted to rename in batch into one sigle folder

STEP 2 : Open a New Text Document by right click under the same folder.

STEP 3 : Rename it as "Rename.bat" [u can give any name u like, but extension should be .bat]

ignore the warning of file may be unusable and hit OK.

STEP 4 : Right click on the .bat file and click "Edit", a new blank text document will open.

STEP 5 : Put the codes in format "ren *.[from extension]*.[to extension]"

example to change all jpg files to gif format, write : ren *.jpg *.gif

save it.

STEP 6 : Now, just double click on the Rename.bat icon and feel the difference.

All files matching the from extension criteria will be changed to specified extensions.

Multiple from-extension to One to-extension will work.

Multiple from-extension to Multiple to-extension will work. [No same extension in from-extension list should be selected twice]

One from-extension to One to-extension will work.

One from-extension to Multiple to-extension will NOT work.



No comments:

Post a Comment