https://github.com/tylpk1216/winnetworkbatch
Use Windows Batch File to change network interface.
https://github.com/tylpk1216/winnetworkbatch
batch-file network-tools windows-10
Last synced: 3 months ago
JSON representation
Use Windows Batch File to change network interface.
- Host: GitHub
- URL: https://github.com/tylpk1216/winnetworkbatch
- Owner: tylpk1216
- License: mit
- Created: 2020-04-24T05:37:44.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-24T05:51:04.000Z (about 5 years ago)
- Last Synced: 2025-01-26T06:28:16.975Z (5 months ago)
- Topics: batch-file, network-tools, windows-10
- Language: Batchfile
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## WinNetworkBatch
Use Windows Batch File to change network interface.## Why
I usually work on Windows PC. Sometimes I need to use Wi-Fi to connect to another Linux PC. I must disable my Lan network and enable my Wi-Fi network manually. When colleages ask me some questions, I must change my network interface again. This is a boring job. So I decide to use Windows Batch File to simplify my work. Jus for fun.## Windows 10 (I only have Chinese Windows 10, please image it!)
The 'netsh' command needs administrator privilege to use it. I use steps below to chain my steps smoothly.
1. Add shortcut to my batch file.
2. Click mouse right botton to 'property' -> 'shortcut' -> 'advanced options'.
3. Then check 'Run as administrator'.