Search notes:

Script: wlan.bat

wlan.bat is a batch file for cmd.exe that allows to turn on and off the wlan.
@rem
@rem    connect or disconnect wlan
@rem

@if "%1" equ "" (
  goto Usage
)

@if "%1" equ "on" (

  @if "%2" equ "" (
    goto Usage
  )

  @netsh wlan connect "%2"

  @exit /b
)

@if "%1" equ "off" (
  @netsh wlan disconnect
  @exit /b
)

:Usage
@echo.
@echo   enter
@echo     wlan on   wlan-name
@echo   or
@echo     wlan off
@echo.
Github repository scripts-and-utilities, path: /wlan.bat

See also

netsh wlan …
new-wlan.bat
Script: wifi-start
Scripts
WLAN

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759390502, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/tools/scripts/personal/wlan_bat(83): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78