Windows has a limit of 260 chars for the length of a path that, for example, could be something like:
C:\dir name 1st nested level\sub dir name 2nd nested level\...deepest nested level\filename.ext
You can use that length at your discretion, for example you can give a very descriptive directory name of 250 chars total and you just have few chars left for you filename.ext
. In fact you could for example do one single level of custom directory with a very long name like this:
C:\Your very long and descriptive folder name of 260 char is this one here and you don't have much chars left to be used for the file names that you need to give to the files contained inside this directory with a lot of useful informations you named\file.ext
As you can see above, you have left just enough chars to give a 8 char length name for files like file.ext, including the file name itself the point and the extension of the file.
Now, Considering that the length of the dir name is at least 1 char long, you also can do something like:
C:\Y\o\u\r\v\e\r\y\l\o\n\g\a\n\d\d\e\s\c\r\i\p\t\i\v\e\f\o\l\d\e\r\n\a\m\e\o\f\2\6\0\c\h\a\r\i\s\t\h\i\s\o\n\e\h\e\r\e\a\n\d\y\o\u\d\o\n\t\h\a\v\e\m\u\c\h\c\h\a\r\s\l\e\f\t\t\o\b\e\u\s\e\d\f\o\r\t\h\e\f\i\l\e\n\a\m\e\s\t\h\a\t\y\o\u\n\e\e\d\t\o\g\a\Filena.ext
If you count the "\" char occurrences into the above path, you'll find out that they are 124 in total...: I couldn't go further in path depth because Win OS shows an advice about the path that is too long and blocks the creation of further sub-dir. But you still have left space for a short file name and its extension thought.
I have also noticed tho that Win becomes very slow managing any content inside a very long and nested path. Even deleting that long path took about 7 or 8 seconds: usually it takes just a blink of an eye.
Probably the slowness is due to the recursive algorithm that has to update the file system that slows down the operations of creating deleting and managing the content into a so deep path.
Another message that the OS throws out when a path is too long is on its deletion: the OS advises you that the path is too long for the recycle bin and will be deleted completely without passing throughout the recycle bin itself: this could be a bit of a problem in case you need to recover any content later from the deleted directory that is not into the bin.
So IMHO (at least on my system) it is usually better not to use so deep nested paths: better stop at before max 10-15 levels or so.
The longest paths that are stored into my hard drive are 23 level deep tho. They still work pretty well for speed but it is an hassle to find something into them just following the path. And for documents I rarely go nesting more than 5-6 directory levels.