我知道TaskList命令显示当前正在运行的任务,但不显示完整的path名。
有没有办法做到这一点?
适用于Windows的Process Viewer具有命令行PV.EXE,与-v选项一起使用时将显示完整path
http://www.teamcti.com/pview/prcview.htm
firefox.exe 1016 Normal C:\Program Files\Mozilla Firefox\firefox.exe taskmgr.exe 1872 High C:\Windows\system32\taskmgr.exe wuauclt.exe 3796 Normal C:\Windows\system32\wuauclt.exe explorer.exe 2196 Normal C:\Windows\explorer.exe cmd.exe 4972 Normal C:\Windows\system32\cmd.exe
Powershell可以做到这一点:
get-process | get-item -erroraction silentlycontinue | format-table name, directory
尝试tasklist / v
TLIST曾经这样做过,但被replace了。 读这个
这是一个应用程序,但它不是一个命令窗口应用程序。
http://www.techbuzz.in/how-can-i-find-exe-location-of-processes-in-windows-xp-task-manager.php