Skip to content

Instantly share code, notes, and snippets.

@zhuchen115
Last active March 11, 2019 07:42
Show Gist options
  • Save zhuchen115/b79453c5451e6e8fae315fc5a1fc9348 to your computer and use it in GitHub Desktop.
Save zhuchen115/b79453c5451e6e8fae315fc5a1fc9348 to your computer and use it in GitHub Desktop.
Connect to the network both in wired ad wireless
@echo off
REM Use this script After wire is connected
netsh wlan disconnect
route delete 0.0.0.0
netsh wlan connect waseda-wpa2
route add 133.9.0.0 mask 255.255.0.0 192.168.11.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment