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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -