Batch File rename 2
Yesterday I posed the following question:
I want to rename a large number of files. The file names look like this
10-L-1 Stuff.docx
I want to change the "L" into an "8"
And leave everything else as is.
Anybody know a fairly simple to understand method for that?
I've already looked for the Windows 10 method but that changed everything.
I got several answers, but could not work them out. Using the Windows instructions I only get "Syntax Error"
Here is what I want to do: I want to change 1 character in all the files in the batch. I need the exact spelling.
Drive F
1st Folder PMI
Sub Folder 61
2nd Sub folder QMEDEX
3rd Sub Folder QMEDANS
File name 01-J-3 Quiz A.docx
Desired name 01-10-3 Quiz a.docx
I need to know the exact syntax
The other files that I want to rename have 01, 02, 04 etc in the first number and 3, 4, 5 in the 3rd number
I only want to change the "J" into a "10"
Thanks
Newest Reality
(12,712 posts)Have you tried a tool like this? You should be able to use a wildcard to batch rename the files as you want to.
https://www.batchrenamefiles.org/
Turbineguy
(38,287 posts)It changed all the file names but not to what I actually want. I'll change them by hand.
Eugene
(62,626 posts)This example for 10-L-1 Stuff.docx uses Free Commander XE ( https://freecommander.com )
Select the files you want and click File->Multirename or Ctrl-M.
You will see a search-and-replace dialog box. Put "-L-" in the Search for field and "-10-" in the Replace with field. Then press the Rename button.
Results:
This example does one change at a time to be conservative. There are several more options (like regular expressions) that support more advanced pattern matching.