It's not free, but it's probably the best. "Windows NT Shell Scripting" by Tim Hill .
However, whenever I try to do something โadvancedโ in cmd batch files, I always regret it.
Always.
edit: some explanation of the disadvantages of batch files:
- Mathematical possibilities are pathetic
- support for citation is an afterthought - if you need to pass a quoted string as an argument to a command that needs to be quoted itself, reserve a place in the shelter (in fact, I'm not sure if this is possible)
- string manipulation is a patchwork with half the functionality implemented
Then there are seemingly endless bits of oddities, angular cases and inconsistencies that you encounter at every turn.
The only thing that happens with batch files is the support for each Windows window. If you just want to automate the execution of several commands in a group, great. Perhaps add a simple loop, a couple of routines, and some environment variables to parameterize things. In addition, I highly recommend that you use something else.
Michael Burr Oct 07 '08 at 22:59 2008-10-07 22:59
source share