您可以使用以下命令获取PID和父PID的进程列表:wmic process get Caption,ParentProcessId,ProcessId 如果给定父进程的PID,您可以使用类似以下的命令列出其直接子进程:wmic process where (ParentProcessId=2480) get Caption,ProcessId
wmic process where ("ParentProcessId=2480") get Caption,ProcessId
- myszon