I want to run the below code from my application:
manage-bde -protectors -disable C:
It is working perfectly if I open up a command prompt and run from there (win8).
But if I try to run it from my app, I get: 'manage-bde' is not a recognized program.
My code:
process1.StartInfo.RedirectStandardOutput = true;
process1.StartInfo.UseShellExecute = false;
process1.StartInfo.CreateNoWindow = false;
process1.StartInfo.FileName = @"cmd.exe";
process1.StartInfo.Arguments = @"/C manage-bde -protectors -disable C:";
process1.Start();
What am I missing?