Batch rename file extentions only

Soldato
Joined
18 Oct 2002
Posts
3,245
Location
melbourne
I want to rename ONLY the extention of a few hundred files without affecting the rest of the file name.

Would I have to use command prompt or is there a way in windows explorer?

Cheers. :)
 
Man of Honour
Joined
25 Oct 2002
Posts
31,707
Location
Hampshire
I'd probably do something like this from the commandprompt:

ren *.* ??????????????????????????????????????????.ext

However that's a bit ugly and obviously wouldn't pick up any files with names longer than the number of question marks.

There are freeware win32 batch renaming utilities on the web.
 
Last edited:
Don
Joined
21 Oct 2002
Posts
46,744
Location
Parts Unknown
ren *.* *.txt

if you have say

old.bmp
old.doc

then you'll get this error message.. (if in cmd mode)

A duplicate file name exists, or the file
cannot be found.


ckrename is a good freeware renaming tool, i used it for fixing thousands of files
 
Back
Top Bottom