📄 lanping.bat
字号:
@echo off
cls
color 34
if exist temp.txt del temp.txt
@echo 局域网IP地址已分配情况:
for /L %%p in (1,1,255) Do ( ping.exe -n 1 -w 20 10.10.10.%%p > temp.txt
for /f "tokens=1,2,3,4*" %%i in (temp.txt) do if "%%i"=="Reply" echo The Address %%k is distributed
)
pause
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -