What Does SYS C: Do in MS-DOS 6.22?

The SYS C: command in MS-DOS 6.22 is a dedicated system utility used to make drive C: bootable without altering existing non-system files or requiring a reformat. When executed, the SYS.COM utility inspects the target drive, updates the volume boot record with MS-DOS bootstrap code, and copies the essential operating system files—IO.SYS, MSDOS.SYS, and COMMAND.COM—to the root directory of the destination drive.

1. Drive and Parameter Validation

Upon execution, SYS.COM checks the target drive specification. It confirms that drive C: exists, is a valid local read/write block device, and has a recognized FAT filesystem. It also checks that sufficient contiguous free directory entries and disk clusters are available to hold the necessary system files.

2. Updating the Volume Boot Record

SYS reads the existing boot sector (Volume Boot Record) from the first sector of the partition on drive C:. It preserves the BIOS Parameter Block (BPB)—which contains critical geometry data such as sector size, cluster size, and FAT locations—while replacing the executable bootstrap loader code with standard MS-DOS 6.22 boot code. This code is responsible for locating and loading IO.SYS into memory at computer startup.

3. Transferring IO.SYS

SYS locates IO.SYS from the source media (typically the boot drive or current working drive) and writes it to the root directory of drive C:. In earlier DOS versions, IO.SYS had to occupy the very first physical cluster of the data area. In MS-DOS 6.22, this restriction is relaxed; only the initial sectors of IO.SYS must be contiguous, allowing the utility to successfully update drives that already contain data. Once written, SYS marks IO.SYS with the Read-Only, Hidden, and System (RHS) file attributes.

4. Transferring MSDOS.SYS

Next, the MS-DOS kernel file, MSDOS.SYS, is copied to the root directory of drive C:. In MS-DOS 6.22, this is a binary executable file containing the core DOS operating system logic, unlike the text-based configuration file introduced later in MS-DOS 7.0 (Windows 95). Like IO.SYS, SYS applies the Read-Only, Hidden, and System attributes to MSDOS.SYS.

5. Copying the Command Processor

Finally, SYS.COM copies COMMAND.COM, the default command-line interpreter, into the root directory of drive C:. Unlike the two core system files, COMMAND.COM is left with standard archive attributes so that it remains visible and directly accessible.

6. Termination

Once the boot record is rewritten and all three files are placed and verified, SYS.COM flushes disk buffers and outputs the confirmation message: System transferred. Drive C: is then fully prepared to boot MS-DOS 6.22 independently.