When programming on windows, you will sometimes need to execute batch files. It might seem like a good idea to do something simple in a batch file. This is the time you should realize that it it’s a slippery slope. Dont go there.
There are excellent alternatives! Powershell works well for scripting (as long as you accept the signing or set-execution-policy). Ruby is sweet for scripting. There are alternatives that will let simple things be simple.
Do you want to send a comment or give me a hint about any issues with a blog post: Open up an issue on GitHub.
Do you want to fix an error or add a comment published on the blog? You can do a fork of this post and do a pull request on github.