MSDOS.SYS
MSDOS.SYS is the MS-DOS kernel in MS-DOS 1 through MS-DOS 6.22. It is responsible for file access and program management. MSDOS.SYS is loaded by the MS-DOS BIOS ([[IO.SYS]] ) as part of the boot procedure. By default, the file is located in the root directory of the bootable drive/partition and has RHSA attributes so it cannot be deleted or executed easily.
The DOS kernel has various different names in certain OEM releases of MS-DOS, such as IBMDOS.COM and MSDOS.COM. IBM PC DOS, as well as DR-DOS (since 5.0, with the exception of DR-DOS 7.06). used the file IBMDOS.COM, whereas DR-DOS 3.31 to 3.41 used DRBDOS.SYS. FreeDOS uses KERNEL.SYS (a combination of the kernel and BIOS). Any DOS-compatible file name can be used for it, as long as the boot sector contains its name.
Windows 9x
In the Windows 9x series, the DOS kernel was combined with the DOS BIOS into [[IO.SYS]] (aka WINBOOT.SYS). MSDOS.SYS was kept, but was repurposed as a plain text file containing boot configuration information. If a WINBOOT.INI file exists, the system will retrieve these configuration directives from WINBOOT.INI rather than from MSDOS.SYS. Some DOS utilities expect the MSDOS.SYS file to have a file size of at least 1 KB, which is why a large dummy comment is typically found in MSDOS.SYS.