檢查網(wǎng)絡(luò)信息的bat[批處理]文件
更新時間:2007年08月08日 20:55:49 作者:
@echo off
netsh -c interface dump >網(wǎng)絡(luò)信息.txt
:loop
cls
set a=
set/p a=1……查看網(wǎng)絡(luò)信息,2……重新設(shè)置,Q……退出
if "%a%"=="1" start 網(wǎng)絡(luò)信息.txt
if "%a%"=="2" netsh -f c:\gongsi.txt
if "%a%"=="q" exit
goto loop
netsh -c interface dump >網(wǎng)絡(luò)信息.txt
:loop
cls
set a=
set/p a=1……查看網(wǎng)絡(luò)信息,2……重新設(shè)置,Q……退出
if "%a%"=="1" start 網(wǎng)絡(luò)信息.txt
if "%a%"=="2" netsh -f c:\gongsi.txt
if "%a%"=="q" exit
goto loop
相關(guān)文章
在Windows下定時執(zhí)行bat腳本的實現(xiàn)方法
在Windows操作系統(tǒng)中,定時執(zhí)行bat腳本是一項非常有用的技術(shù),本文將介紹如何在Windows下實現(xiàn)定時執(zhí)行bat腳本的方法,并提供了詳細的示例,本文內(nèi)容詳實,包含了必要的代碼示例和操作步驟,旨在幫助讀者快速上手并解決實際問題,感興趣的朋友可以參考下2024-01-01