cmd下查看进程路径

来源:百度文库 编辑:神马文学网 时间:2024/05/23 18:46:01
这个windows自带的很好的工具,不用写VBS去查进程路径了。直接在cmd窗口内完成
C:\Documents and Settings\ROOT>wmic
wmic:root\cli>process where (description=”qq.exe”)
Caption CommandLine CreationClassName CreationDate
QQ.exe “D:\Program Files\CyboQQ\CyboQQ.exe” Win32_Process 20100509164248
QQ.exe “D:\Program Files\CyboQQ\CyboQQ.exe” Win32_Process 20100509173920
QQ.exe “D:\QQ2010\Bin\QQ.exe” Win32_Process 20100509180357

具体其他功能详见
http://hi.baidu.com/xysoul/blog/item/f8edc60219ae4c084bfb5142.html