There are more and more users of win7 systems using laptops today. Laptops have the advantage that desktops can't match, that is, they are easy to carry. Users can use the laptop in different places. However, due to the setting of the system IP address, the user will always be unable to connect to the network when using the laptop, but it is troublesome to change the IP frequently. So is there any good way to solve this problem? In fact, we can quickly change the IP through the batch file, the following small series will let you know the specific solution!
The method is as follows:
1, in the win7 system desktop blank, right click on the mouse to select New - text document;
2, double-click to open the new text document, copy the following code into:
@echo Off
rem eth //eth is the name of the network card, which can be queried in the network connection, such as "local link"
set eth=“wireless network connection& rem ip //ip is the IP you want to change set ip=192.168.1.8 rem gw //gw is the gateway address set gw=192.168. 1.1 rem netmasks //netmasks is the subnet mask set netmasks=255.255.255.0 echo is changing the local IP to: %ip% rem if %gw%==none netsh interface ip set address %eth% static %ip% %netmasks% %gw% 》 nul if not %gw%== None netsh interf Ace ip set address %eth% static %ip% %netmasks% %gw% 1 》 nul echo……………………. echo Check the current native IP: ipconfig echo……………………. echo successfully changed the local IP to %ip%! pause close 3. Click File - Save as .bat format file . After saving the .bat file through the above steps, click on the batch file, the laptop will automatically change the IP address, which is convenient for users to use the computer Note: For more exciting tutorials, please pay attention to the computer tutorial section, computer office group: 189034526 welcomes you to join
black screen situation I was wonderful when we used the computer, many users can easily find a good
For the security of our computer, in general, we will set the power-on password for our computer. In
Above: Seeing that docx is recognized as Open XML, you can open it.Office is definitely a must-have
The desktop icon on Win7 brings you a lot of convenience, many shortcuts allow you to go straight in
How windows7 prevents browsers from being attacked by malware
Where is the win7 local connection? After disabling, how to set up the WIN7 system of the
How to retrieve the personalization option
How to set 256 colors for Win10?
How to use the rotation function of Win7 screen
Win7/8.1 Tips: Quick Restart in a Special Period
What should I do with win7 cpu usage rate 100?
How to use the screen recording function that comes with Win7
The price is only half? Secrets of the major online malls Jane package Windows7 genuine
Two strokes per second to determine whether your Win7 system can be a wireless router?
Efficient Domain Management Experience under Windows Server 2008
Windows 8 account switching is very simple, no need to exit restart
Windows 2000 Advanced Server Dcpromo Command
Building a High Security Web Server with IIS
The latest version of Win8 to 8424 WinRT catches up with
Win8 prompt stop work analysis and repair
Insert USB does not play automatically Windows7 is also lazy
How to disable the Win7 system to pop up the Adobe Flash Player automatic update window