homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Microsoft / Microsoft Windows OS (XP/NT/Vista/Windows 7/8/10)
Forum Library, Charter, Moderators: bill

Microsoft Windows OS (XP/NT/Vista/Windows 7/8/10) Forum

mass renaming in windows explorer

5+ Year Member

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:

file (1)
file (2)
file (3)
file (4)
file (5)
file (6)
file (7)
file (8)
file (9)
file (10)
file (11)

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:

file (1)
file (10)
file (11)
file (2)
file (3)
file (4)
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?




WebmasterWorld Administrator bill us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Msg#: 3200420 posted 1:36 am on Dec 28, 2006 (gmt 0)

Welcome to WebmasterWorld abcdefGARY!

A lot of the batch renaming software will create files like this:

file (001)
file (002)
file (003)
file (004)
file (005)
file (010)
file (012)
file (013)

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.


5+ Year Member

Msg#: 3200420 posted 8:38 pm on Dec 28, 2006 (gmt 0)

Renamer 6.0 [albert.nu].

List -> Item -> Move Up / Down

I hope this helps.



WebmasterWorld Senior Member billys us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 3200420 posted 11:15 pm on Dec 28, 2006 (gmt 0)

bill - that's pretty good advice, never thought to do it that way. Probably faster than downloading a file, installing it and removing it for this one time event.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Microsoft / Microsoft Windows OS (XP/NT/Vista/Windows 7/8/10)
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved