Win 2000 Server Maximums

  • Thread starter Thread starter Phil Jackson
  • Start date Start date
P

Phil Jackson

On Windows 2000 Server:

1) Is there a limit to the maximum number of files per
directory (or folder)?

2) Is there a maximum length for a filename + path?

I seem to remember that NT Server had limits of 256 files
and 256 characters per filename + path.

Thanks in advance for your replies,

Phil
 
Hi Phil,

With regards to your questions:

1) For files per directory, there's no limit (In NTFS,
Directories are Btrees; there is no limit
to files/directory beyond the amount of disk space needed
in the directory itself (60-100 bytes).
We have perform a test of creating 20 million files in a
single directory successfully.

2) Yes, from a maximum limit standpoint the total length
of the filename and path together should be less than 256
(which means 255 or less) characters. (However, we
recommended to have shorter filenames or paths, if
possible.)

FYI, Win32 programs are limited to a 256-character string
size limit because of the MAX_PATH variable. Software
programs can work around this problem by passing Win32 a
path that is MAX_PATH or less.

Please refer to the following KB articles for more
information:

* Files, Folders, or Path Names with More Than 259
Characters Are Not Displayed
http://support.microsoft.com/?id=210631

* How to Disable the 8.3 Name Creation on NTFS Partitions
http://support.microsoft.com/?id=121007

* PRB: Path Limit Is 260 Bytes, Not Characters
http://support.microsoft.com/?id=172895

* OFF2000: Error Messages When You Try to Open Document
http://support.microsoft.com/?id=325573

Hope the given information helps.



Annie @ Microsoft

Please do not send email directly to this alias. This is
my online account name for newsgroup participation only.
I've been "encouraged" to share this helpful information
from our lawyers. This posting is provided "AS IS" with
no warranties, and confers no rights. You assume all risk
for your use. © 2003 Microsoft Corporation. All -rights
reserved
 
Back
Top