Changing multiple file extensions

Discussion in 'Windows 10 Forum' started by Modification, Oct 6, 2015.

  1. Modification

    Modification Member

    Joined:
    Nov 10, 2014
    Messages:
    121
    Likes Received:
    4
    Trophy Points:
    18
    I wanted to change the file extensions of multiple files (10+). Instead of having to select each of them and renaming them to add a .pdf, for example, at the end, I would like to do it in one swift motion. I googled it and it seems like alot of these options are outdated (downloaded a program but it didn't work). Plus, it kind of looked a bit shady, installing other programs. I figured it would be wiser to just ask here and get the safer, more reliable option.

    Does anyone know of a program that can do this on Windows 10?
     
  2. jrioux

    jrioux Active Member

    Joined:
    Dec 12, 2013
    Messages:
    378
    Likes Received:
    46
    Trophy Points:
    28
    Location:
    California's Central Coast
    My Device:
    SPro3
    That's a good question. I really like Flexible Renamer. I've used it in Win 7 and XP, but it doesn't have an 8 or 10 version. :(
     
  3. sharpuser

    sharpuser Super Moderator Staff Member

    Joined:
    Aug 20, 2013
    Messages:
    2,852
    Likes Received:
    1,030
    Trophy Points:
    113
    Location:
    Pacific Northwest & China
    My Device:
    Surface Book
    @Modification

    1) Browse to the folder containing the files with Windows File Explorer
    2) File, Open Command Prompt (or Alt+F+P)
    3) Type and Enter this command
    Code:
    rename *.* *.pdf

    - - -


    If you want the original files to remain along with the new files, then type and Enter this command
    Code:
    xcopy*.* *.pdf
     
    Last edited: Oct 14, 2015
  4. Modification

    Modification Member

    Joined:
    Nov 10, 2014
    Messages:
    121
    Likes Received:
    4
    Trophy Points:
    18

    hmm I tried this and it says "The filename, directory name, or volume label syntax is incorrect."
     
  5. sharpuser

    sharpuser Super Moderator Staff Member

    Joined:
    Aug 20, 2013
    Messages:
    2,852
    Likes Received:
    1,030
    Trophy Points:
    113
    Location:
    Pacific Northwest & China
    My Device:
    Surface Book
    @Modification,

    I just tried both of these commands, and was able to rename all files in a folder to any extension, and able to copy all files to any extension. Try that again. There is a space in the command I provided after the *.*
     
  6. Modification

    Modification Member

    Joined:
    Nov 10, 2014
    Messages:
    121
    Likes Received:
    4
    Trophy Points:
    18
    Am I supposed to enter the code you posted exactly? Or do I replace certain parts of it?

    Now it's saying "A duplicate file name exists, or the file cannot be found."
    And it repeated that line the same amount of times as there are files in the folder (files of which extensions I'm trying to change).
     
  7. jrioux

    jrioux Active Member

    Joined:
    Dec 12, 2013
    Messages:
    378
    Likes Received:
    46
    Trophy Points:
    28
    Location:
    California's Central Coast
    My Device:
    SPro3
    Total Commander (www.ghisler.com) has a renaming feature. To rename files:

    1. Run Total Commander and go to the directory with the files you want to rename.
    2. Select or highlight the files you want to rename
    3. Select the "Tools" menu and then "Multi-Rename Tool" option
    4. In the "Multi-Rename Tool" window, type "PDF" under the heading "Extension"
    5. Press the "Start!" button at the bottom of the page

    Your files will be renamed!
     

Share This Page