Board logo

标题: BAT中的延迟 [打印本页]

作者: 5548646     时间: 2007-8-30 19:27    标题: BAT中的延迟

BAT中的延迟  常用ping -n 2 0 >nul
我听说 还有ping -w请问怎么用 ???
作者: HAT     时间: 2007-8-30 20:13
学习看帮助

  Quote:
C:\>ping /?

Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]
            [-r count] [-s count] [[-j host-list] | [-k host-list]]
            [-w timeout] target_name

Options:
    -t             Ping the specified host until stopped.
                   To see statistics and continue - type Control-Break;
                   To stop - type Control-C.
    -a             Resolve addresses to hostnames.
    -n count       Number of echo requests to send.
    -l size        Send buffer size.
    -f             Set Don't Fragment flag in packet.
    -i TTL         Time To Live.
    -v TOS         Type Of Service.
    -r count       Record route for count hops.
    -s count       Timestamp for count hops.
    -j host-list   Loose source route along host-list.
    -k host-list   Strict source route along host-list.
    -w timeout     Timeout in milliseconds to wait for each reply.


作者: HAT     时间: 2007-8-30 20:14
批处理中的延时
http://www.cn-dos.net/forum/viewthread.php?tid=8905#pid54227
作者: beiwei36     时间: 2007-8-31 06:08
有五种方法的!
作者: hngaoshou     时间: 2007-8-31 17:26
for /l in (1,1,300) do ver >nul




欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) Powered by Discuz! 2.5