Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

max files per folder

Status
Not open for further replies.

agbtech

Technical User
Nov 11, 2005
27
US
I believe the max number of files the operating system can handle is 65000. Can anyone tell me why? What happens to the operating system if there are too many files per folder?
 
The limits are not by operating system, but by FILE SYSTEM. NTFS has a nearly unlimited number of files that can be stored on it. FAT16 has a limit of 65,536. FAT32 can handle 4,194,304 files.

What happens when you reach that limit? You can't store any more files and Windows might crash because it can't create any more files (and windows likes to create temp files).
 
ok, here's the problem. We have an old legacy system that does opens, does calculations, then closes nearly 100,000 files that reside in one folder. The application is 16 bit, runs on a Windows 2000 server with NTFS file system through terminal server. Recently we are beginning to have errors when exiting the application that certain procedures cannot be found. Since the executable has not changed since December, we are looking to environmental causes.
Anyone have any ideas?
 
When application want to open any file in folder, search method is sequential. When the number of files is great, the search time is big. May be timeout for function calling was reached.

WBR, Vadim V. Petukhov,
vadimp@yandex.ru
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top