Skip to content

Instantly share code, notes, and snippets.

@Rillke
Rillke / toggle_wifi_hotspot.bat
Last active February 9, 2016 13:34 — forked from Mithrandir0x/disable_wifi_hotspot.bat
Two little batch files to create a cozy WiFi hotspot from the laptop.
@ECHO OFF
ECHO Setting up or shutting down a hosted network
SET /P ACTION="ENABLE [E] DISABLE [D] INFO[I]: "
IF /I "%ACTION:~,1%" EQU "E" GOTO enable
IF /I "%ACTION:~,1%" EQU "D" GOTO disable
IF /I "%ACTION:~,1%" EQU "I" GOTO info
GOTO unknown
:enable
SET DEFAULT_SSID=rillke's hotspot