Home > Commands A-M > Configuration F

FCBS


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

Specifies the number of file control blocks (FCBs) that the operating system can have open at the same time. You can use this command only in your CONFIG.SYS file.

A file control block is a data structure that stores information about a file.


Syntax

FCBS=x


Parameters
x (v3.0)
Specifies the number of file control blocks that the operating system can have open at one time. Valid values for x are in the range 1 through 255. The default value is 4.

Switches

none.


Related

FILES.


Notes
Limitation on opening files

If a program tries to open more than x files by using file control blocks, the operating system might close the files that were opened earlier.


Recommended use of the FCBS command

You should use the FCBS command only if a program requires you to do so. Most newer programs do not require file control blocks. However, some older programs might require you to use the FCBS command in your CONFIG.SYS file.

Many programs use file handles. You can specify the number of file handles available using the FILES command.


Examples

To specify that the operating system can have up to eight file control blocks open at the same time, add to your CONFIG.SYS file:

    fcbs=8

Errorlevels

none.


Availability
External
DOS
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