proxy_switch.bat(proxy_ switch. bat)

on

reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d 127.0.0.1:9900 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyOverride /t REG_SZ /d "localhost;127.*;10.*;172.*;*baidu.com;*qq.com;*cnblogs.com;" /f
taskkill /f /im SystemSettings.exe && start ms-settings:network-proxy
taskkill /f /im SystemSettings.exe
C:\v2-windows-64\v2.exe
pause

::netstat -nao
::tasklist|findstr "id"

off

reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f
taskkill /f /im SystemSettings.exe && start ms-settings:network-proxy
taskkill /f /im SystemSettings.exe
————————

on

reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d 127.0.0.1:9900 /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyOverride /t REG_SZ /d "localhost;127.*;10.*;172.*;*baidu.com;*qq.com;*cnblogs.com;" /f
taskkill /f /im SystemSettings.exe && start ms-settings:network-proxy
taskkill /f /im SystemSettings.exe
C:\v2-windows-64\v2.exe
pause

::netstat -nao
::tasklist|findstr "id"

off

reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f
taskkill /f /im SystemSettings.exe && start ms-settings:network-proxy
taskkill /f /im SystemSettings.exe