Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
コード内でバットファイルを開始しています
System.Diagnostics.Process.Start(パス + ".bat");
そのbatファイルのコマンドラインウィンドウを非表示にするにはどうすればよいですか?
ありがとうございました。
より細かく制御するには、ProcessStartInfo を使用します。
var psi = new ProcessStartInfo(path + ".bat")); psi.WindowStyle = ProcessWindowStyle.Hidden; Process.Start(psi);