Win7 system one-click setting IP DOS script command

  

Create a new Notepad file on the desktop, copy the following content and paste it to save

[dm lang=”php”]netsh interface IP set address “Local connection ” source=dhcpnetsh interface IP set dns “local connection>source=dhcppause[/dm]

Save as DHCP.bat *** The purpose of this code is to set the TCP/IP environment***

At the moment we create a new file and enter the following:

[dm lang=”php”]netsh interface IP set address “local connection  static 10.0.0.123 255.255.255.0 Gateway=10.0.0.1 1netsh interface IP set dns “local connection quo; static addr=218.30.19.40netsh interface IP add dns “local connection<quo; addr=211.11.1.67pause[/dm]

Then Save the file as IP.bat, double-click this file

The default local IP setting is 10.0.0.123

The subnet mask is set to 255.255.255.0

The gateway is set to 10.0.0.1

The DNS setting is 218.30.19.10

The alternate DNS setting is 211.11.1.67.

The above is the default setting, you can modify it according to your actual needs;


I have edited it here, you can download the win system ip directly and quickly. Br>

Copyright © Windows knowledge All Rights Reserved