中国DOS联盟论坛

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-24 21:09
47,812 topics / 349,910 posts / today 1 new / 48,262 members
DOS媒体世界 & 网络技术 (多媒体室) » Help, how to use batch processing to judge the host status on the router?
Printable Version  3,079 / 1
Floor1 supiti Posted 2010-10-27 01:18
新手上路 Posts 1 Credits 4
Under the routing state, the router IP is 192.168.1.1. The bound IP hosts are A, B, C, D, corresponding to 192.168.1.2, 192.168.1.3, 192.168.1.4, 192.168.1.5 respectively. How to make the batch processing automatically judge the online status of the hosts and display them in a list. For example: Host A is online, Host B is offline, Host C is online, Host D is offline. Thank you.
Floor2 doslike Posted 2011-01-02 18:37
版主 Posts 285 Credits 326 From 黑龙江省
For example, ping host a. If errorlevel = 2, it means it's not online.

This code has not been tested!
Let me know if there are any problems
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023