Can not get msconfig .exe to run in the system32 folder shellexecute Delphi
- by grant1842
Im on Win 7 64b.
Im trying to run msconfig from my delphi app.
The msconfig.exe file is in the system32 folder .
I copied the msconfig.exe to the c:\ and it works great.
This looks like some kind of permission issue.
var
errorcode: integer;
begin
errorcode :=
ShellExecute(0, 'open', pchar('C:\Windows\System\msconfig.exe'), nil, nil, SW_NORMAL);
if errorcode <= 32 then
ShowMessage(SysErrorMessage(errorcode));
end;
Has anyone seen this and figured out how to run the msconfig.exe from the sys32 .