手机
当前位置:查字典教程网 >脚本专栏 >DOS/BAT >中文显示ping结果的批处理bat文件
中文显示ping结果的批处理bat文件
摘要:中文显示ping结果.bat复制代码代码如下:@echooffcolorf2echo.setfor=于setof=的setwith=用set...

中文显示ping结果.bat

复制代码 代码如下:

@echooff

colorf2

echo.

setfor=于

setof=的

setwith=用

setin=(以

setdata:=数据

setmilli-seconds:=毫秒为单位)

setApproximate=大约

settimes=时间:

setround=来回

settrip=行程

setReply=应答

setfrom=来自

setbytes=字节

settime=时间:

settimed=时间

setout=超过

setstatistics=统计

setPackets:=包:

setSent=已发送=

setReceived=已收到=

setLost=已丢失=

setloss)=丢失)

setMinimum=最小值=

setMaximum=最大值=

setAverage=平均值=

setTTL=TTL=

setlocalenabledelayedexpansion

seta=

set/pa=请输入要ping的网址或IP

for/f"delims="%%iin('ping%a%')do(

setret=

for%%ain(%%i)doifdefined%%a(setret=!ret!!%%a!)elsesetret=!ret!%%a

ifnot"!ret!"==""(setret=!ret:time=时间!&&echo!ret!)elseecho.

)

pause>nul

【中文显示ping结果的批处理bat文件】相关文章:

用批处理查找字符数最多的文本行的代码

又一篇不错的批处理bat学习教程第1/5页

dos之bat批处理文件语法介绍

使用批处理重置TCP_IP协议

检查网络信息的bat[批处理]文件

批处理文件 (.bat) 的几个技巧分享

Chdir (Cd) 显示当前目录的名称,或更改当前的文件夹

查看进程使用的端口的批处理文件

不错的winodws XP 优化处理文件

显示网络配置的批处理文件

精品推荐
分类导航