วันพฤหัสบดีที่ 10 มกราคม พ.ศ. 2556

Proxy script

@echo off
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /t REG_DWORD /v ProxyEnable /d 1 /f > nul
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /V  ProxyServer /D "23.168.200.25:8080" /f >nul
cd /D "%APPDATA%\Mozilla\Firefox\Profiles"
cd *.default
set ffile=%cd%
echo user_pref("network.proxy.type", 1);>>"%ffile%\prefs.js"

set ffile=
cd %windir%
exit

ไม่มีความคิดเห็น:

แสดงความคิดเห็น