Autoexec.bat is the initial batch file that is executed when the computer boots up. This file is found in the root of the boot disk drive, usually C:.