Run CMD / Batch
Run a cmd.exe command (inline) or a .bat/.cmd file and capture its output.
Programs & ProcessesRunCmdWindows only
What it does
Run a cmd.exe command (inline) or a .bat/.cmd file and capture its output.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| Command | multiline | Optional | Inline cmd command. Ignored if a batch file is given below. Example: echo Hello && dir Supports variables | |
| Batch file (.bat/.cmd) | file | Optional | Optional. If set, this file is run instead of the inline command. Example: C:/scripts/task.bat Supports variables | |
| Arguments | string | Optional | Passed to the batch file (only used with a file). Supports variables | |
| Store stdout in | variable | Optional | Example: output |
More Programs & Processes commands
Ready to automate your busywork?
Start your free 10-day trial today. No credit card, no commitment.