batch file

An ASCII file that contains operating system commands and other commands supported by the batch processor. Batch files are used to automate repetitive tasks. The commands in the file are executed one line at a time, just as if you had typed them at the system prompt.