Home > Commands A-M > Configuration F

FILES


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Specifies the number of files that the operating system can access at one time. You can use this command only in your CONFIG.SYS file.


Syntax

FILES=x


Parameters
x (v2.0)
Specifies the number of files that the operating system can access at one time. Valid values for x are in the range 8 through 255. The default value is 8.

Switches

none.


Related

none.


Notes

Although the default setting for the x parameter is 8, some programs require a larger value. A typical setting is 30.

The value you set for FILES may not be the only determining factor in how many files a program can have open at a time. The design of the program may limit how many files it can have open.


Examples

To specify that the operating system can access up to 20 files at one time, add to your CONFIG.SYS file:

    files=20

Errorlevels

none.


Availability
External
DOS
v2.0 v2.01 v2.05 v2.10 v2.11 v2.11R v2.12 v2.2 v2.25 v3.0 v3.20 v3.05 v3.1 v3.21 v3.25 v3.30 v3.3A v3.3R v3.3T v3.31 v3.40 v4.0 v4.01 v4.01A v5.0 v5.0A v5.00.02 v5.001A v5.01 v5.02 v6.0 v6.10 v6.2 v6.21 v6.22 v6.23 v7.00 v7.0R1 v7.10 v8.00
Windows
none
Windows NT
none