change filenames

  • Thread starter Thread starter KRK
  • Start date Start date
K

KRK

Hello,

I have a lot of files with similar filenames, and I want to shorten the
filenames.

eg. I have files

F1_temp.doc
F2_temp.doc
F3_temp.doc
etc
etc

and I want to change them all to

F1.doc
F2.doc
F3.doc
etc
etc

Can I do this in Vista (home premium) ?? or do I need to downlaod something
??

Thanks

K
 
A simple command from command prompt works for me fine.

The command for your particular example is:
ren f?_temp.doc F?.doc

<screen_output>
Directory of C:\test

20.07.2009 16:22 <DIR> .
20.07.2009 16:22 <DIR> ..
20.07.2009 16:21 6 F1_temp.txt
20.07.2009 16:21 5 F2_temp.txt
20.07.2009 16:21 5 F3_temp.txt
20.07.2009 16:22 5 F4_temp.txt
4 File(s) 21 bytes
2 Dir(s) 9.088.450.560 bytes free

C:\test>ren f?_temp.txt F?.txt

C:\test>dir
Volume in drive C has no label.
Volume Serial Number is A6EC-4FE6

Directory of C:\test

20.07.2009 16:22 <DIR> .
20.07.2009 16:22 <DIR> ..
20.07.2009 16:21 6 F1.txt
20.07.2009 16:21 5 F2.txt
20.07.2009 16:21 5 F3.txt
20.07.2009 16:22 5 F4.txt
4 File(s) 21 bytes
2 Dir(s) 9.088.450.560 bytes free

</screen_output>
 
Highlight the files you want to rename, right click, select "rename", type
the letter F, hit Enter.
 
Back
Top