此批处理命令结束一项或多项任务。
Taskkill /im [taskname]
@echo off Taskkill /im mspaint.exe
上述命令将向任何打开的 MS Paint 程序发送终止消息。
❮ batch_script_commands.html