Skip to content

Instantly share code, notes, and snippets.

@starfreck
Last active March 11, 2023 05:39
Show Gist options
  • Select an option

  • Save starfreck/f80fdef067e26dab21a6a82ef499faa1 to your computer and use it in GitHub Desktop.

Select an option

Save starfreck/f80fdef067e26dab21a6a82ef499faa1 to your computer and use it in GitHub Desktop.
This is a small "bat" file which can Enable and Disable Wi-Fi Adaptor on Win 10 (Run it as Admin)
@Echo off
set interface="Wi-FI"
netsh interface set interface "Wi-Fi" disable
netsh interface set interface "Wi-Fi" enable
:end
@starfreck

Copy link
Copy Markdown
Author

Check this to make an EXE from the BAT file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment