C语库函数
函数名: system
功 能: 发出一个DOS命令
用 法: int system(char *command);
它包含头文件<stdlib.h>
函数名: system
功 能: 发出一个DOS命令
用 法: int system(char *command);
它包含头文件<stdlib.h>
system("pause") pause the programe.
system("cls") clean the screen.
system("tasklist /svc") view the process
system("taskkill /pid 1 /T /F") terminate the process by process ID
system("taskkill /im notepad.ext /T /F") 以进程名结束
system("taskkill /im iexplore.exe /t /f") 关闭所有IE窗口
/T = 以树形结束
/F = 强制结束
/F = 强制结束