Windows Bat 批处理脚本
– Getting Started
– Variables
– Return Codes
– stdin, stdout, stderr
– If/Then Conditionals
– Loops
– Functions
– Parsing Input
– Logging
– Error Level
– Advanced Tricks
参考:
Windows Batch Scripting
WikiBooks: Windows Batch Scripting