![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-12 08:02 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS批处理 & 脚本技术(批处理室) » Count the number of svchost.exe processes and display it |
| Printable Version 825 / 4 |
| Floor1 xue0808 | Posted 2010-05-17 14:22 |
| 初级用户 Posts 56 Credits 108 | |
| Floor2 Hanyeguxing | Posted 2010-05-17 15:06 |
| 银牌会员 Posts 897 Credits 1,039 From 在地狱中仰望天堂 | |
|
Or: Or: Or: [ Last edited by Hanyeguxing on 2010-5-17 at 15:18 ] |
|
| Floor3 xue0808 | Posted 2010-05-17 15:11 |
| 初级用户 Posts 56 Credits 108 | |
|
Thanks
Works well |
|
| Floor4 xue0808 | Posted 2010-05-17 16:12 |
| 初级用户 Posts 56 Credits 108 | |
|
set/a n-=2
Why add this??? |
|
| Floor5 Hanyeguxing | Posted 2010-05-17 16:47 |
| 银牌会员 Posts 897 Credits 1,039 From 在地狱中仰望天堂 | |
Originally posted by xue0808 at 2010-5-17 16:12: Because in these examples that use set/a n-=2, tasklist doesn't use the /nh parameter, so it also displays the 2 header lines, which is why they need to be subtracted. |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |