Run CMD / Batch
cmd.exe コマンド(インライン)または .bat/.cmd ファイルを実行し、出力を取得します。
プログラム・プロセスRunCmdWindows専用
概要
Run CMD / Batch は、AutoFlowRPA の プログラム・プロセス カテゴリに属するノーコードの自動化ステップです。 ワークフローが到達すると、1 つのステップで処理を実行します。 4 個のパラメータを設定して、動作を細かく制御できます。 このステップは Windows で動作します。 ビジュアルビルダーでワークフローにドラッグできる 369 個のコマンドの 1 つで、スクリプトは不要です。
概要
cmd.exe コマンド(インライン)または .bat/.cmd ファイルを実行し、出力を取得します。
Run a cmd.exe command (inline) or a .bat/.cmd file and capture its output.
パラメータ
| パラメータ | 型 | 必須 | 既定値 | 説明 |
|---|---|---|---|---|
| Command | multiline | 任意 | Inline cmd command. Ignored if a batch file is given below. 例: echo Hello && dir 変数に対応 | |
| Batch file (.bat/.cmd) | file | 任意 | Optional. If set, this file is run instead of the inline command. 例: C:/scripts/task.bat 変数に対応 | |
| Arguments | string | 任意 | Passed to the batch file (only used with a file). 変数に対応 | |
| Store stdout in | variable | 任意 | 例: output |
Run CMD / Batch コマンドの使い方
- 1
AutoFlowRPAを開き、プログラム・プロセスグループからRun CMD / Batchコマンドをキャンバスにドラッグします。
- 2
サイドパネルでパラメータを設定します。Run CMD / Batchには設定可能な項目が4個あります。
- 3
ワークフローに接続してRunを押します。すべて端末上でローカルに実行されます。
よくある質問
Run CMD / Batch コマンドは何をしますか?
cmd.exe コマンド(インライン)または .bat/.cmd ファイルを実行し、出力を取得します。
Run CMD / Batch コマンドはどのグループに属しますか?
Run CMD / Batchはプログラム・プロセスグループに含まれます。AutoFlowRPAはコード不要で組み合わせられる369個以上の標準コマンドを搭載しています。
Run CMD / Batch コマンドにパラメータはありますか?
はい。Run CMD / Batchには設定可能な項目が4個あり、ビジュアルノードエディタで編集できます。