Many people may not know anything about the batch commands in the computer network settings, just like a pig that can't swim struggling in the water, hands and feet. But in fact, mastering the batch command is like mastering a golden key to open the door to the network world, you can set up proxy ip and modify ip as you wish, so that you can travel freely in the network world.
Batch set proxy ip
First, we have to open the "command prompt", which is like opening a door to the unknown world. In the command prompt window, we can enter a series of computer-like "magic spells" to manipulate the computer, such as to change the local ip, we can enter the following command:
“`
netsh interface ip set address "local connection" static 192.168.1.100 255.255.255.0 192.168.1.1
“`
This command is like a magic wand that allows the computer to instantly change its "address", like a new house, to avoid some annoying network restrictions.
Batch command to change ip
And to set up a proxy ip, it's a matter of minutes. We just need to enter the following command in the command prompt:
“`
reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /v ProxyServer /t REG_SZ /d 192.168.1.100. 8080 /f
reg add "HKCUSoftwareMicrosoftWindowsCurrentVersionInternet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
“`
It's like putting an invisible amulet on your computer to allow you to navigate the online world without being distracted by something nasty.
Whether you want to change the ip or set up a proxy ip, as long as you master these "magic spells", you can easily master the computer, and travel in the network world with ease. Just like a magician dancing in the hands of the magic wand, as you wish to travel in the blue starry sky of the network.
Here I share some simple batch commands, I hope you can be like me, easy to master these "magic spells", free in the network world unimpeded. The network world is like an infinite blue starry sky, and we are the wizards who are mastering the starry sky.