From http://danrice.net/articles/run-a-batch-script-minimized