Skip to content

Commit cd11276

Browse files
committed
常用批处理
1 parent 173cd31 commit cd11276

File tree

269 files changed

+29007
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

269 files changed

+29007
-0
lines changed

AutoConnectWIFI.bat

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
@echo on
2+
rem command prompt run in backgroud...
3+
if "%1" == "h" goto start
4+
mshta vbscript:createobject("wscript.shell").run("%~nx0 h",0)(window.close)&&exit
5+
6+
7+
:start
8+
title WiFi SSID Connect
9+
netsh wlan show Interfaces >WlanInterface.txt
10+
find /i "hellosw" WlanInterface.txt
11+
if errorlevel 1 goto netsh
12+
goto end
13+
14+
15+
:netsh
16+
netsh wlan connect name="hellosw" ssid="hellosw"
17+
goto start
18+
19+
:end
20+
echo Waiting For One Hour...
21+
timeout /t 1800 /nobreak
22+
goto start

0 commit comments

Comments
 (0)