Specifies the number of files that MS-DOS can access at one time.

The FILES and FILESHIGH commands can only be invoked from Config.sys.



xThe number of files that can be accessed at one time. x can be from 8 to 255, with a default value of 8.


Although the default value for FILES is 8, some programs such as compilers and databases may require several hundred files to be open at any time. A value of 30 has been recommended as a good general purpose figure.

The value set for FILES may not be the only determining factor in how many files a program can have open at a time, and the design of the programs being used may be a limiting factor.

Each FILE specified requires about 50 bytes of memory.

If the DOS command is used to manage the upper memory blocks (it usually is), the default value for FILES are automatically loaded into the HMA. ie. the line
is invoked without needing to be explicitly stated.

If you should have any comments or suggestions,
please contact: Bob Watson
This page last revised:
December 9, 1999.