Welcome to WebmasterWorld Guest from 18.104.22.168
Forum Moderators: bill
I'm trying to find a mass renaming software that will rename by the order that I place it in manually... most of the renaming software that I've tried only allows me to rename them by name or whatever but I want them to be named in the order that I put them in.
I've only been able to come up with one solution but it doesn't work 100%:
so I used window's explorer's select all > file > rename function, which automatically renames the files in the order I put them in. however, windows puts parenthesized numbers:
I think you can spot the problem I'm having when I open up the mass rename program to get rid of the parenthesis, it only lets me go by name, so the order will be like this and messes up the order:
and so on...
so my question is: does anyone know of any program that will let me rename by the order I place them in, rather than by name?
A lot of the batch renaming software will create files like this:
That would eliminate your ordering problem from the start.
If you wanted to do this in Windows then the REN [microsoft.com] from the command line would be something to look into.
I've done something similar with a batch file. From the command line I would CD to the directory containing all the files. Then you enter this command:
dir /b > rename_files.txt
In a spreadsheet you'd set up something like this:
Column A = REN
Column B = original-file-name.jpg
Column C = new-file-name
Column D = 001
Column E = .jpg
In this example, column A "REN" refers to the DOS rename command, column B is the current filename, column C is the static part of the filename, column D would be a formula that adds 1 to the previous row, and column E is the new filename's static .jpg extension.
Then you export this to a text file and format it so that it follows this format:
[b]ren[/b] [i]filename1 filename2[/i]
Change your file name so that it ends in a .bat and click on it in Explorer. The batch file will run through and rename all your files.
You may have to play with this a bit to get the naming convention the way you like, so try it out on a backed up copy of your files.