1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Batch rename file extentions only

Discussion in 'Windows & Other Software' started by Morlan, 26 Jul 2006.

  1. Morlan

    Mobster

    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. :)
     
  2. Mr Blonde

    Caporegime

    Joined: 18 Oct 2002

    Posts: 30,945

    Location: Liverpool -> London

  3. HangTime

    Man of Honour

    Joined: 25 Oct 2002

    Posts: 28,603

    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: 26 Jul 2006
  4. Morlan

    Mobster

    Joined: 18 Oct 2002

    Posts: 3,245

    Location: melbourne

    Thanks lads, just what I was looking for. :)
     
  5. bledd

    Don

    Joined: 21 Oct 2002

    Posts: 46,787

    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