Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (9 sloc) 599 Bytes
layout title date tags
post
Avoid batch files
2012-02-17 20:36:00 +0100
powershell windows

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.