アプリケーションから以下のコードを実行したい:
manage-bde -protectors -disable C:
コマンドプロンプトを開いてそこから実行すると(win8)、完全に機能しています。
しかし、アプリから実行しようとすると、次のようになります。'manage-bde' is not a recognized program.
私のコード:
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();
私は何が欠けていますか?