Msg#: 3200420 posted 1:29 am on Dec 27, 2006 (gmt 0)
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:
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
That will give you a file called rename_files.txt in that same directory. It will contain all of your file names, one per line. You can open this file in a spreadsheet or text editor and setup a renaming sequence.
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.