当前位置:DOS资源站资料中心批处理教程 → 批处理检查本机的网络信息

批处理检查本机的网络信息

减小字体 增大字体 作者:佚名  来源:本站整理  发布时间:2008-4-7 21:20:37

@echo off
title 查看修改网络信息
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" goto end
goto loop
:end
del 网络信息.txt
echo.
exit