When the computer is just started, you must first read some of the system programs from a disk into the memory to work properly, we will call this disk as the boot disk.
Usually, we use a or C disk as the boot disk, in special cases, the other disk of the hard drive and a few computer discs can also be used as the boot disk. The SYS command is required to make a startup disk, which can be referred to later in the command section.
When the DOS system starts, read the two system files Io.sys, MSDOS from the boot disk first. SYS, and then locate and execute CONFIG in the root directory of the boot disk. SYS, Command.com, AUTOEXEC. Bat three files. Among them Io.sys, MSDOS. SYS and COMMAND. COM these three files are indispensable, otherwise the computer will not start normally
CONFIG. SYS and Autoexec.bat these two files are used to configure the system's operating environment and automate commands that are critical to the performance of the computer and to the drive of many devices, and we can modify their content to suit our needs.
Autoexec.bat is called an automatic batch file, which is one of the batch files because it is automatically run when DOS starts, so it is called an automatic batch file. You can put the program that you want to run every time you start your computer.
If the computer cannot find these two files in the root directory, it can be run, but there are many complex software and devices that will not work properly. such as optical drives, sound cards, and Windows programs. Therefore, beginners should be careful not to delete the above several files, otherwise, the computer will not work properly.