|
|
|
|
|
|
|
|
pt.echo "PID ProcessName">>1.vbe echo for each ps in getobject("winmgmts:\\.\root\cimv2:win32_process").instances_ >>1.vbe echo wscript.echo ps.handle^&vbtab^&ps.name>>1.vbe echo next>>1.vbe 生成1.vbe后请检查一下echo出来的脚本是否有错(才四行,对一下上面给出的就可以了)。 运行1.vbe得到如下运行结果: C:\WINNT\system32>cscript 1.vbe cscript 1.vbe Microsoft (R) Windows 脚本宿主版本 5.1 for Windows 版权所有(C) Microsoft Corporation 1996-1999. All rights reserved. PID ProcessName 0 System Idle Process 8 System 页码:[1] [2] [3] [4] [5] [6] [7] 第5页、共7页 |
|
|
|
|
设为首页 | 加入收藏 | 广告服务 | 友情链接 | 版权申明
Copyriht 2007 - 2008 © 科普之友 All right reserved |