#include<windows.h>
#include <shellapi.h>
int main()
{
//ShellExecute(NULL,"open","explorer.exe",NULL,"c:",SW_SHOWNORMAL);
WinExec("explorer.exe c:", SW_SHOW);
ExitProcess(0);
return 0;
}
c++技巧之打开系统目录代码
最新推荐文章于 2023-06-01 17:23:10 发布
#include<windows.h>
#include <shellapi.h>
int main()
{
//ShellExecute(NULL,"open","explorer.exe",NULL,"c:",SW_SHOWNORMAL);
WinExec("explorer.exe c:", SW_SHOW);
ExitProcess(0);
return 0;
}