Run CMD / Batch

cmd.exe コマンド(インライン)または .bat/.cmd ファイルを実行し、出力を取得します。

プログラム・プロセスRunCmdWindows専用

概要

cmd.exe コマンド(インライン)または .bat/.cmd ファイルを実行し、出力を取得します。

Run a cmd.exe command (inline) or a .bat/.cmd file and capture its output.

パラメータ

パラメータ必須既定値説明
Commandmultiline
任意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
変数に対応
Argumentsstring
任意Passed to the batch file (only used with a file).
変数に対応
Store stdout invariable
任意
: output

その他のプログラム・プロセスコマンド

面倒な作業を自動化しませんか?

今すぐ10日間の無料トライアルを開始。カードも契約も不要です。