Guys, I have a question...

How many folders can we have within a folder.. I mean.. folder within folder within folder, and so on.. ?

Is there any way of increasing that limitation if any?
0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


IIRC, there is a limitation within Windows that paths can only be 254 characters in length so I guess the limit is 253 sub-folders, provided that each folder name is only one character long.

Actually, I think the limit is driven by the requirement to accomodate 8.3 (short) folder names from the dark days of MS-DOS.

You could always go R I G H T out on a limb and Google "windows folder depth". It'll catch on one day, this Google thing. Remember that we were there first.
Answered 02/08/2010 by: VBScab
Red Belt

Please log in to comment
Keep in mind that when you measure the length of a folder that you need to include the backslash ("\") as well.
I would say that if it's not 254 characters for the limit, that it's close enough.
I also believe that with NTFS (from Windows NT on), that there is no directory character limitation, but people usually adhere to the 250/254/255 character limit for backward compatibility with Windows 95/98.

Another thing to keep in mind, at least from the network perspective, if the path is longer than about 250 characters, you can find a point farther down inside the long path and hard map a network drive to that point; then the rest of the folder structure should then be visible.
Answered 02/08/2010 by: bearden3
Purple Belt

Please log in to comment
thankooo, thankooo
Answered 02/08/2010 by: mitrokin
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity