WMIC: 查看进程或服务的所在目录

wmic:Windows Management Instrumentation Command-line(Windows管理规范命令行)
开始-运行-wmic :
进程:
process
查看指定 process where name=”editor.exe”
服务:
service get caption,pathname