- File control block
A File Control Block (FCB) is a file system structure in which the state of an open file is maintained. The FCB originates from
CP/M and is also present in all versions ofMS-DOS . A full FCB is 36 bytes long; in early versions of CP/M, it was 33 bytes.The meanings of several of the fields in the FCB differ between CP/M and MS-DOS, and also depending on what operation is being performed. The following fields have consistent meanings:
Usage
In CP/M and MS-DOS 1 (which did not include support for directories), the FCB was the only method of accessing files. When directories were introduced in MS-DOS 2, FCBs were superseded by
file handle s.FCBs were supported in all versions of MS-DOS and Windows until the introduction of the FAT32 filesystem.
Windows 95 ,Windows 98 andWindows Me do not support the use of FCBs on FAT32 drives, except to read the volume label. This caused some old DOS applications, includingWordstar , to fail under these versions of Windows.The FCB interface does not work properly on Windows NT, 2000, etc either - WordStar does not function properly on these operating systems. The emulator
DOSEMU implements the FCB interface properly, and is one way to run older programs.
Wikimedia Foundation. 2010.