What are the best free resources for learning advanced batch-file usage?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s not free, but it’s probably the best. ‘Windows NT Shell Scripting’ by Tim Hill.
That said, whenever I try to do something ‘advanced’ in cmd batch files, I always end up regretting it.
Always.
edit: some explanation of the shortcomings of batch files:
Then there are the seemingly never-ending bits of oddities, corner cases, and inconsistencies that you run into at every turn.
The only thing going for batch files is that they’re supported on every Windows box out there. If you just want to automate executing a few commands as a group, great. Maybe add a simple loop, a couple of subroutines, and some environment variables to parameterize things. Beyond that I strongly recommend you use something else.