![]() |
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-09-24 20:51 |
47,812 topics / 349,917 posts / today 0 new / 48,274 members |
| DOS批处理 & 脚本技术(批处理室) » If you want to achieve that running A.bat calls B.bat and then runs C.bat after B.bat is completed. |
| Printable Version 2,712 / 18 |
| Floor16 ivanisme | Posted 2007-03-21 02:26 |
| 初级用户 Posts 13 Credits 30 | |
|
Listening to your words is better than reading ten years of books!
|
|
| Floor17 oilio | Posted 2007-03-21 02:28 |
| 高级用户 Posts 303 Credits 641 | |
|
Brother lxmxn's usage has been seen, but I just don't know how to use it well. Here, without specifying -w, it's the default that ping once is 1000 milliseconds, right? Then pinging five times is waiting for 4 seconds? It seems I'm very bad at math, heh.
[ Last edited by oilio on 2007-3-20 at 01:33 PM ] |
|
| Floor18 lxmxn | Posted 2007-03-21 02:39 |
| 版主 Posts 4,938 Credits 11,386 | |
|
Re oilio: Basically, it's like this, but this kind of delay is not very accurate. To achieve accurate delay, you need to use VBS or other tools to implement it, such as the sleep.exe command. Brother can write a test script for pinging command delay by himself to understand its delay precision, for example: [ Last edited by lxmxn on 2007-3-20 at 01:45 PM ] |
|
| Floor19 oilio | Posted 2007-03-21 03:00 |
| 高级用户 Posts 303 Credits 641 | |
|
Thanks to brother lxmxn's batch script, I tried it, and there is a little discrepancy. But generally, this is sufficient.
|
|
| Prev 1 2 |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |