Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hide Command Prompt When Executing An EXE

Alright, so here's command I'm currently running. Upon executing, a command prompt apprears until the command is finished.

Is there any way to hide the command prompt?

Process.Start(
    "\\path_to_exe\Testing.exe ",
    Arg2 + Arg3 + Arg4 + Arg5 + Arg6 + Arg7 + Arg8 + Arg9 + Arg10 + Arg11)
like image 244
Muhnamana Avatar asked Apr 23 '26 11:04

Muhnamana


1 Answers

Dim p as New ProcessStartInfo(@"command", args)
p.WindowStyle = ProcessWindowStyle.Hidden
p.CreateNoWindow = true
Process.Start(p)
like image 145
juergen d Avatar answered Apr 25 '26 22:04

juergen d