『楼 主』:
求用P处理PING IP地址、网关的脚本
使用 LLM 解释/回答一下
各位大侠,大家好。
小弟想用P处理写一个PING IP地址的脚本,
启动P处理后,先检测本机IP、网关、DNS,
只要缺少其中一项,则弹出设置对话框,
设置完毕,点击确定,则重新检测IP、网关、DNS,
检测通过后,则执行下面1-4条;
1、PING 127.0.0.1 10秒后,
2、PING 本机IP地址 10秒后,
3、PING 网关IP地址 10秒后,
4、PING DNS服务器IP地址 10秒后,
重复第1-4条,如此反复
Ladies and gentlemen, hello.
Little brother wants to use P to process to write a script for PING IP address,
After starting P to process, first detect the local IP, gateway, DNS,
As long as one of them is missing, a settings dialog box will pop up,
After setting is completed, click OK, then re-detect IP, gateway, DNS,
After the detection is passed, then execute the following items 1-4;
1. PING 127.0.0.1 after 10 seconds,
2. PING the local IP address after 10 seconds,
3. PING the gateway IP address after 10 seconds,
4. PING the DNS server IP address after 10 seconds,
Repeat items 1-4, and so on
|