#1
|
|||
|
|||
How to run DOS commands in Run Script
I have written a Run Script step (in VBScript) to emulate our existing DOS batch file based build system. I assumed that since the DOSCMD macro shows up via the "Insert Macro" button, that I could use it to execute DOS commands within my VBScript code. But when I try this:
%DOSCMD% "echo hello" I get: Error at Line 327, Column 4 (Expected statement) Code: C:\WINDOWS\system32\cmd.exe /C "echo hello" Do I have to use a "Run Program" step to execute DOS commands? If so, how do I do that programatically within my VBScript? |
|
|