31.03.2016 - You have to generate the commands.txt on the fly: set PARAMETER=parameter echo ./myscript.sh %PARAMETER% > commands.txt start .