Got it to work.
Suggestion...
If you change the command switch "/k" to "/c" in the "Run" statements then you will eliminate the cmd.exe instances running in the background. It's a cleaner way of handling that situation than having to add the last statment that m4gnesium suggests. (nothing personal, m4gnesium!)