Page 1 of 1

bcdedit.exe not found in shellExecute_()

Posted: Wed Nov 27, 2024 8:00 pm
by danny88
Hello
When I run this command

Code: Select all

ShellExecute_(0, "RunAS", "bcdedit.exe", "/set {Default} safeboot minimal", "", #SW_SHOWNORMAL)
The command is not successful but if I copy bcdedit.exe to an other location and call it, it works.

PB x86 on Windows x64.

How to do it ?

thanks