Once all of the CONFIG.SYS commands have been executed by IO.SYS, the command interpreter, COMMAND.COM, is found and loaded into memory and then control is passed to it. COMMAND.COM will search for the file AUTOEXEC.BAT and if it exists it will execute the instructions inside. COMMAND.COM will not parse a batch file. Instead all instructions will be executed line by line from the top down. Batch files are very close to normal command line syntax in nature except for a few extra commands that only work in a batch file. Here are the BATCH file commands:
CALL, CHOICE, ECHO, FOR, GOTO, IF, PAUSE, REM, SHIFT