Launch manage-bde.exe with Process.Start

  • Thread starter Thread starter Z. V
  • Start date Start date
Z

Z. V

Guest
Hello,

In a windows service (also tried from C# console application) I ran the following code:

ProcessStartInfo startInfo = new ProcessStartInfo("manage-bde.exe");
startInfo.UseShellExecute = true;
startInfo.WorkingDirectory = "c:\\Windows\\System32";
Process.Start(startInfo);


I got exception with the message:

The system cannot find the file specified

Also tried the same in a Win32 console application with the following code:

system("c:/windows/system32/manage-bde.exe");

and got the following message in the CMD window:

'manage-bde.exe' is not recognized as an internal or external command,
operable program or batch file.

I tried running it manually from a CMD window and there was no problem.

Can you please help ?

I used the same code to run notepad.exe and it worked fine.

Thank you,

Zvika

Continue reading...
 
Back
Top