folder tree limit

Posted on 2009-04-20
Medium Priority
Last Modified: 2012-05-06
Would anyone know if there is a limit on how deep a folder tree can go? If so what is the limit?Also what symptoms do we see when we hit that limit? Thanks
Question by:Thomas N
LVL 38

Accepted Solution

Shift-3 earned 2000 total points
ID: 24186628
The entire path length, including the drive letter and invisible <NUL> at the end cannot exceed 260 characters.  See the Maximum Path Length heading in this article.

If the limit is exceeded, Windows Explorer will usually give an unhelpful "The system cannot find the file specified" error.  The command prompt will return "The full path of <path> is too long".

Author Comment

by:Thomas N
ID: 24186635
I have a share folder and people are creating folders within folders pretty deep. Some of the deeper ones are having problems accessing it.

Expert Comment

ID: 24186636
Folder tree limit is 256 caracters, problem you get when going over this limit is that you get errors when saving a file in that tree.
LVL 18

Expert Comment

ID: 24186818
Other symptoms you may experience are, cannot remove folder xxx.xxx...."the filename  or extension is too long", Cannot copy xxx.xxx: The file name you specified is not valid or too long. Specify a different file name, or unable to create the folder "xxx.xxx", The specified path is invalid.

You can resolve the problem usually by rename one or two file or folder names. Pick the long one to start.

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question