How to Prepend Index Number to SubFolders Based on Parent

Post any Bulk Rename Utility support requirements here. Open to all registered users.

How to Prepend Index Number to SubFolders Based on Parent

Postby mp@twinpointcap.com » Fri May 19, 2017 7:33 am

Hi,

I am working with a large set of folders, subfolders, and files in windows explorer. I have been tasked with indexing the files as follows.

Parent folders should be numbered "1.[Folder Name]", "2."[Folder Name], "3. [Folder Name]", etc.

Subfolders should be numbered as follows: "1.1 [Subfolder name]", "1.2 [Subfolder name]", "2.1 [Subfolder name]", "3.1 [Subfolder name]", etc.

Files should be numbered as follows: "1.1.1 [File Name]", "1.2.1 [File Name]", "2.1.1 [File Name]", "3.1.1 [File Name]", etc.

The idea is for someone to be able to easily reference files by index number (e.g. "In file 8.4.2.1.2, you can see x, y, and z")

Is there an easy way to do this?
mp@twinpointcap.com
 
Posts: 2
Joined: Fri May 19, 2017 7:23 am

Re: How to Prepend Index Number to SubFolders Based on Parent

Postby Admin » Mon May 22, 2017 2:49 am

Hi, how many files / folders to do?
It could be done step by step if not too many.
thanks
Admin
Site Admin
 
Posts: 1496
Joined: Tue Mar 08, 2005 8:39 pm

Re: How to Prepend Index Number to SubFolders Based on Parent

Postby mp@twinpointcap.com » Mon May 22, 2017 10:19 pm

Approximately 10,000 files in 1,500 subfolders.
mp@twinpointcap.com
 
Posts: 2
Joined: Fri May 19, 2017 7:23 am

Re: How to Prepend Index Number to SubFolders Based on Parent

Postby Admin » Mon May 22, 2017 11:40 pm

It's a bit complicated but it could be done with a Javascript script which keeps track of folder levels and counters.
Admin
Site Admin
 
Posts: 1496
Joined: Tue Mar 08, 2005 8:39 pm


Return to BRU Support