process - how can run this cmd command "bcdedit /set testsigning on" by c#? -
how can run cmd command "bcdedit /set testsigning on" c#? code - no run :
string strcmdline; strcmdline = "bcdedit /set testsigning on"; process.start("cmd.exe", strcmdline);
missing details on actual issue here...
here's guess, think missing /c flag.
string strcmdline; strcmdline = "/c bcdedit /set testsigning on"; process.start("cmd.exe", strcmdline);
see of cmd.exe more details on /c flag (cmd /?).
Comments
Post a Comment