How to Make a Batch File?

A batch file is basically a set of instructions using DOS command that instruct a computer to do when the file is opened. To make a batch file, open Notepad and type your instructions one per line, in the order you want them to be executed. When finished, save the file using the .bat file extension, and that’s it.