Originally posted by marryli at 2007-3-10 03:01 AM:
您说的我明白了
wmic process get caption,commandline
是只列举出caption和commandline是吧?
我现在想做的是,知道某一进程名字,例如rundll.exe 如何能找到它的绝对路径呢?
wmic process where(name="rundll.exe") get commandline
wmic process where(name="rundll.exe") get executablepath
上面两种都可以,应该没有问题,但要确定你的进程名是不是rundll.exe,如果有偏差就不会询问出。
[ Last edited by oilio on 2007-3-10 at 11:20 AM ]作者: xycoordinate 时间: 2007-3-11 00:58
Quote:
wmic process where(name="rundll.exe") get commandline
wmic process where(name="rundll.exe") get executablepath