China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-27 03:50
中国DOS联盟论坛 » 其它操作系统综合讨论区 » Is there a batch script that can continuously PING an IP? View 3,536 Replies 15
Original Poster Posted 2007-06-21 16:58 ·  中国 重庆 电信
新手上路
Credits 14
Posts 6
Joined 2007-06-07 14:29
19-year member
UID 90559
Gender Male
Status Offline
Is there a batch script that can continuously PING an IP? I'm a newbie just learning, and I don't know if such a thing exists
Floor 2 Posted 2007-06-21 17:15 ·  中国 上海 电信
中级用户
★★
Credits 231
Posts 112
Joined 2007-06-19 20:44
19-year member
UID 91827
Gender Male
Status Offline
Do you really want to ask this question?

#(Content start)

:ping
ping.exe 192.168.0.1
goto ping

#(End)

192.168.0.1 is the address to ping.

Pay attention to looking at ping /?

Can be used under xp

[ Last edited by duanml on 2007-6-21 at 05:36 PM ]
Floor 3 Posted 2007-06-21 17:30 ·  中国 重庆 电信
新手上路
Credits 14
Posts 6
Joined 2007-06-07 14:29
19-year member
UID 90559
Gender Male
Status Offline
Floor 4 Posted 2007-06-21 17:38 ·  中国 上海 电信
中级用户
★★
Credits 231
Posts 112
Joined 2007-06-19 20:44
19-year member
UID 91827
Gender Male
Status Offline
You can create a bat file using my three lines of content, and then you can continuously ping the address 192.168.0.1.
Floor 5 Posted 2007-06-21 17:38 ·  中国 重庆 电信
新手上路
Credits 14
Posts 6
Joined 2007-06-07 14:29
19-year member
UID 90559
Gender Male
Status Offline
OK! Thanks ha!!!
Floor 6 Posted 2007-06-21 17:40 ·  中国 上海 电信
中级用户
★★
Credits 231
Posts 112
Joined 2007-06-19 20:44
19-year member
UID 91827
Gender Male
Status Offline
This... I don't know if I'm harming you or helping you.
Floor 7 Posted 2007-06-21 17:45 ·  中国 重庆 电信
新手上路
Credits 14
Posts 6
Joined 2007-06-07 14:29
19-year member
UID 90559
Gender Male
Status Offline
I won't do bad things! Don't worry
Floor 8 Posted 2007-06-21 20:56 ·  中国 湖北 武汉 电信
版主
★★★★★
Credits 11,386
Posts 4,938
Joined 2006-07-23 17:10
20-year member
UID 59080
Status Offline
Isn't it okay to just do this directly?
ping -t www.baidu.com
Floor 9 Posted 2007-06-21 21:30 ·  中国 上海 电信
中级用户
★★
Credits 231
Posts 112
Joined 2007-06-19 20:44
19-year member
UID 91827
Gender Male
Status Offline
Is misleading students also considered doing bad things?

Ping originally has the continuous function. This bat is just for fun. But if you have special needs.

[ Last edited by duanml on 2007-6-22 at 11:29 AM ]
Floor 10 Posted 2007-08-13 20:39 ·  中国 福建 厦门 中移铁通
新手上路
Credits 2
Posts 1
Joined 2007-08-13 20:00
19-year member
UID 95072
Gender Male
Status Offline
Floor 11 Posted 2007-08-28 08:25 ·  中国 云南 西双版纳傣族自治州 电信
初级用户
★★
Credits 100
Posts 52
Joined 2006-03-02 15:06
20-year member
UID 51231
From 云南
Status Offline
Floor 12 Posted 2007-09-05 00:12 ·  中国 广东 广州 天河区 电信
新手上路
Credits 2
Posts 1
Joined 2007-09-04 22:41
18-year member
UID 96580
Gender Male
Status Offline
Isn't it solved by using ping -l?
Floor 13 Posted 2007-09-06 22:13 ·  中国 浙江 杭州 电信
初级用户
Credits 42
Posts 13
Joined 2007-09-05 14:52
18-year member
UID 96625
Gender Male
Status Offline
Ping of death Hehe
Floor 14 Posted 2008-04-03 12:40 ·  中国 广东 东莞 博路电信科技公司
新手上路
Credits 6
Posts 3
Joined 2008-03-05 17:04
18-year member
UID 112110
Gender Male
Status Offline
Thanks, I'm a newbie and have learned.
Floor 15 Posted 2008-04-08 01:13 ·  中国 广东 广州 白云区 电信
初级用户
Credits 30
Posts 17
Joined 2006-08-02 14:48
20-year member
UID 59680
Gender Male
Status Offline
Batch processing and the PING command are both okay. -T is not very good!
Forum Jump: