A batch file is a text file that contains a sequence of commands for a computer operating system.The extension of the batch script file is .bat or .cmd.
Read this post on aticleworld.com