
In the command, replace "OLD-FILE-NAME-PART" and "NEW-FILENAME-PART" with the old and new parts of the filename. Type the following command to rename the part of the file name and press Enter: ren OLD-FILE-NAME-PART*.* NEW-FILENAME-PART*.*.To rename part of the name on similar files on Windows 10, use these steps: Once you complete these steps, you will have shorter file names, depending on the question marks (?) available in the command.

(If you want to make the file name longer, add extra question marks in the syntax.) Quick note: If the file name has fewer than five characters, the name will not change.For instance, this command trims the file names longer than five characters: ren *.* ?.*

In the command, the asterisk (*) matches all the file names and extensions in the folder, and the question marks (?) indicate how many characters to use for the new file name.


Type the following command example to navigate to the folder with the files to rename, and press Enter: cd c:\PATH\TO\FILESįor example, this example opens the "files" folder inside "Documents": c d %USERPROFILE%\Pictures\rename.Search for Command Prompt and click the top result to open the app.To rename multiple files in bulk with the same name structure with Command Prompt, use these steps: Once you complete these steps, Command Prompt will rename the file with the new name available in the command. Repeat step 5 to change the name of the remaining files.
