此批处理命令列出任务,包括任务名称和进程 ID (PID)。
Tasklist
@echo off Tasklist
上面的命令将列出当前系统上的所有任务。
❮ batch_script_commands.html