首页 > 编程 > BAT > 正文

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

2020-06-09 14:10:01
字体:
来源:转载
供稿:网友
@echo off
netsh -c interface dump >网络信息.txt
:loop
cls
set a=
set/p a=1……查看网络信息,2……重新设置,Q……退出
if "%a%"=="1" start 网络信息.txt
if "%a%"=="2" netsh -f c:/gongsi.txt
if "%a%"=="q" exit
goto loop
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表