Skip to content

Latest commit

 

History

History
8 lines (8 loc) · 416 Bytes

http_bat.md

File metadata and controls

8 lines (8 loc) · 416 Bytes
@REM set http proxy 127.0.0.1:1230
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d 127.0.0.1:1230 /f
@REM enable http proxy
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
@REM run stn background
mshta vbscript:createobject("wscript.shell").run("stn.exe -c config.json",0)(window.close)