1. Switch to automatically get IP
The following is the code snippet:
@echo off
netsh interface ip set address name=“local” source=dhcp
netsh interface ip set dns name = & ldquo; local & rdquo; source = dhcp
2. switched to the fixed IP
the following is the code snippet:
@echo off
netsh interface ip set address Local static 192.168.0.84 255.255.255.0 192.168.0.254
netsh interface ip set dns local 192.168.0.254
netsh interface ip add dns local 202.106.196.115 index=2
netsh interface ip add dns local 202.106.0.20 Index=3
“local” is your local NIC name, or it may be "local connection", you need to replace it yourself. If it is a switch between two fixed IPs, change the second script yourself:)
In the dns setting, the first one is set, indicating the setting, the latter two are added, and the local one is replaced with the local one. Dns server.
From the office to the home environment, or from the conference room to the IP switch on the office workstation, I believe that you have been bothered by the trouble, then use the following 2 small scripts, huh, huh, the drug is sick .
Cookies are the data that the server temporarily stores on your computer (a text file in .txt format
Broadband is very important for the computer, with it, people can browse the web, download software,
Using WinXP often uses the CTRL+ALT+DEL key combination, which can quickly open the
Generally, we will use the mobile phone to record, and then upload the recording to the computer. Af
XP hotspot setting tips sharing
WinXP open clipboard view program method
Tasklist commands that you are not familiar with
Answer Quickly view the encrypted files in Windows XP
Master teaches you how to crack the windows XP boot password
Right click to take up a lot of memory processing scheme
How do I download videos on the web? WinXP download web video skills
Xp System Tips - Reinstall Windows XP No need to activate
How to solve the problem that WinXP CCB Network Silver Shield is not recognized?
WinXP file can't copy path too deep solution
Easily solve the problem of insufficient virtual memory in Windows
What should I do if the black screen lasts for a long time after Win8 starts?
Win7 system comes with drawing software tips that have stopped working
Win7 browser disables Thunder download method
How to use ordinary computer to read
Win7 game can not be full screen solution three cases
How to repair system win10? Win10 repair system graphic tutorial
Win8 mainstream social application logout account method
Microsoft: New Win10 Preview does not require a key to install