Loading

查找进程路径.md

查找进程文件位置

wmic

1. 使用get查询
wmic process get name,executablepath

2 无条件查询
wmic process list brief
wmic process list full

3 加where条件查询
wmic process where name="qq.exe" get processid,executablepath,name

二、创建进程
wmic process call create  "c:\windows\system32\cmd.exe"

三、结束进程
wmic process where name="qq.exe" call terminate
wmic process where name="qq.exe" delete
posted @ 2022-05-28 17:40  nsfoxer  阅读(153)  评论(0编辑  收藏  举报