Collections:
Other Resources:
Get adapter name as variable
This batch file works, but the adapter name has to be hard coded, is there a way to put the name into a variable from netsh so that the code can be generic?
@echo off
echo Please wait ... Enabling adapter ...
netsh interface show interface name="Wi-Fi" | find /i "DISCONNECTED" >nul && netsh interface set interface "Wi-Fi" ENABLE"
netsh interface show interface name="Ethernet" | find /i "DISCONNECTED" >nul && netsh interface set interface "Ethernet" ENABLE"
echo Process completed
timeout /t 10
✍: Guest
2014-08-29, ∼2844🔥, 0💬
Popular Posts:
Where to find tutorials on using Windows 7 Installed Programs and software? Here is a collection of ...
How to remove VSAdd-in.dll and VSAdd-in toolbar? If you want to remove VSAdd-in toolbar from your IE...
A collection of 18 tutorials on Mozilla FireFox 2 covering: How to download and install Mozilla Fire...
How to remove NetZero Toolbar from Internet Explorer (IE) 7 browser? NetZero Toolbar offers you nice...
Why I am getting the "Why did my PC restart?" message? After taking the quick setup information, you...