引用: 引用 1 楼 hwr2008 的回复:
SHELLEXECUTEINFO exeinfo;
ZeroMemory(&exeinfo,sizeof(exeinfo));
exeinfo.cbSize = sizeof(exeinfo);
exeinfo.lpVerb = L"open";
exeinfo.lpFile = TEXT("\\windows");
exeinfo.hwnd = NULL;
exeinfo.lpParameters = NULL;
exeinfo.fMask = SEE_MASK_NOCLOSEPROCESS;
exeinfo.nShow = SW_SHOWNORMAL;
::ShellExecuteEx(&exeinfo);