Batch File with Self-Awareness

Batch file is a double-edged sword, the good side is that batch file runs on almost all of the Microsoft platforms, while the evil side is people just couldn’t get it right. At the highest level, batch file is interpreted by the command processor, which is cmd.exe or command.com. The interpreter is in charge of: Process escape sequences (e.g. caret). Expand…

1