Rename files

S

stephen lim

Dear all,
Is it possible RENAME multiple files name easily?

When i download jpeg digital photos from my digital
camera, the files appears with a prefix which i can
choose. For example Camping_001jpg to Camping_099.jpg

If I change my mind and want to rename the files to
2003Outdoor_001.jpg to 2003Outdoor_099.jpg etc. Is there a
way to do it efficiently, at one go, without renaming
every one individually?

Many thanks!!
Stephen
 
C

CyberDroog

Dear all,
Is it possible RENAME multiple files name easily?

When i download jpeg digital photos from my digital
camera, the files appears with a prefix which i can
choose. For example Camping_001jpg to Camping_099.jpg

If I change my mind and want to rename the files to
2003Outdoor_001.jpg to 2003Outdoor_099.jpg etc. Is there a
way to do it efficiently, at one go, without renaming
every one individually?

I usually use a batch file for similar tasks. If the file names are all
similar, you can parse the name to separate the "_001" etc (I use 4NT for a
command processor since it has string handling features). Then use that
separate part to build a new file name by concatenating the strings.

Or, I often redirect a directory listing to a file such as rename.bat. I
use UltraEdit for this since I can launch the directory listing and capture
the output automatically. Then use column mode to edit the file. Take out
extraneous information, add quotes to the file names if they contain
spaces, copy the column of file names so that you have two side-by-side
listings, proceed each line by "ren ", etc. You can write a macro to do all
of that for you.

Then just go down the second column of file names and change them to
whatever you want. When done, launch rename.bat and wallah.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top