close
VC下執行DOS命令
a. system("md c:\\12");
b. WinExec("Cmd.exe /C md c:\\12", SW_HIDE);
c. ShellExecute
ShellExecute(NULL,"open","d:\\WINDOWS\\system32\\cmd.exe","/c md d:\\zzz","",SW_SHOW);
d. CreateProcess
EX: kill Precess "QPSTServer.exe"
WinExec("Cmd.exe /C taskkill /IM QPSTServer.exe /F", SW_HIDE);
全站熱搜
留言列表