
How to run multiple Windows commands in the RunCommand step?
How do I run multiple commands in the Run Command step on Windows?
The Run Command step accepts a single line as its input so all of the commands must be concatenated. You will need to use the Windows command separator of double ampersands - '&&'. A typical example would be changing directory before executing the command. The following example will change directory to the O: drive before running 'dir':
Code:
cmd /c cd /d o:&&dir