@echo offnetsh -c interface dump >网络信息.txt:loopclsset a=set/p a=1……查看网络信息,2……重新设置,Q……退出if "%a%"=="1" start 网络信息.txtif "%a%"=="2" netsh -f c:\gongsi.txtif "%a%"=="q" exitgoto loop