Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Automatic Numbering of File Names

Is it possible to automatically number file names in a increasing series within any folder for example a folder filled with photograph images: i.e;

4 Files with File Names

DSC_005, DSC_00012, DSC_00030, DSC_00054, ETC...

Automatically Renumbered in order to;;

1_0005, 2_00012, 3_00030, 4_00054, ETC.

As you can imagine this can take a considerable amount of time when done manually with folders in excess of 200+ files.

Any Suggestions eagerly awaited.
Thankyou.
[520 byte] By [chrisnchez] at [2007-11-11 10:28:51]
# 1 Re: Automatic Numbering of File Names
The easiest way to auto-manually do this is in Windows Explorer / My Computer:

Highlight the list of files you want to rename/number
Right-click on the first file and select rename (or just press F2 to rename)
Type your new base file name and press Enter

Windows will rename them all using the convention "FileName (n)".
Sturdy at 2007-11-11 23:43:16 >