Batch, also known as a batch script. As the name implies, batching is a batch processing of an object and is often considered a simplified scripting language that is used in DOS and Windows systems. The batch file has a name extension of bat. At present, the more common batch processing includes two types: DOS batch processing and PS batch processing. PS batch processing is based on the powerful image editing software Photoshop, used to batch pictures of the script, and DOS batch processing is based on DOS commands, used to automate the mass execution of DOS commands to implement a specific operation of the script. In a more complex situation, you need to use the IF, for, goto commands to control the running of the program, just as in high-level languages like C and basic. If you need to implement more complex applications, it is necessary to take advantage of external programs, including external commands provided by the system itself and tools or software provided by third parties. Although the batch program runs in a command-line environment, it is not only possible to use command-line software, and any programs that are running under the current system can be run in a batch file.
Http://baike.baidu.com/link?url=OH8O-Zw7pjVUAKrDvy7d_YNgrVWq2zlGpD1BnaIpql_RnZWVhHm4MqyMxc9Z8h9vFRbwnowFqTD4IUNpL4H-kq#7
Batch processing---batch scripts.