Discussion Locked

File and directorary name lengths

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

We are currently having a few problems including nightly back ups.
These are due to users creating massive directories strings and file names.

Could you tell me the maximum length you should use in NT 4 and Novell 4.11 for file names and the maximum number of sub driectories you should have.

Thank you,
Steve.

3 replies

by peter ritchie

In NT 4, the documented max directory name size in NT is 255 characters--but actually (at least with FAT) seems to be 245. But (as you'll note below) this is realistically possible only at the root.

In NT there is no maximum number of subdirectories, merely a documented maximum path size of 259 characters (including the drive letter, colon and backslashes). No directory can be created that breaks this rule from any place in the file system (usually, the root is the lowest-common-denominator).

So, with all one-character paths, with FAT, it would appear that the max sub-directories is about 124. But, if your directory names have a length of 122 then you subdirectory level is only 2 (two).

If you're simply doing backups then you might want to consider moving youer users' directories to an archive file format before backup (like a zip file) this way you're not as restricted.

This discussion is closed to new replies.