Page 1 of 1

How to Prepend Index Number to SubFolders Based on Parent

PostPosted: Fri May 19, 2017 7:33 am
by mp@twinpointcap.com
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?

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

PostPosted: Mon May 22, 2017 2:49 am
by Admin
Hi, how many files / folders to do?
It could be done step by step if not too many.
thanks

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

PostPosted: Mon May 22, 2017 10:19 pm
by mp@twinpointcap.com
Approximately 10,000 files in 1,500 subfolders.

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

PostPosted: Mon May 22, 2017 11:40 pm
by Admin
It's a bit complicated but it could be done with a Javascript script which keeps track of folder levels and counters.