标题: 局域网LAN设置
[打印本页]
作者: xiaofei120
时间: 2009-9-15 07:46
标题: 局域网LAN设置
更改Interl--->工具--->Interl选项--->连接--->局域网设置--->代理服务器中的地址和端口的命令是什么。。。
小弟在此先谢谢各位大虾了!!!!!!
作者: wxamd
时间: 2009-9-20 05:30
似乎只能通过注册表修改
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /d "代理服务器ip:端口" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyOverride /t REG_SZ /d "<local>" /f
作者: xiaofei120
时间: 2009-9-20 06:30
谢了。等了好久了~~~
作者: www0com0my
时间: 2009-9-20 09:55
谢谢大大分享。
小弟顺便附上ff的 proxy 方法。
@echo off
title Set Mozilla Firefox Proxy
:start
cls
echo.****************************************************************************
echo [0] Stop Proxy
echo [1] Use Proxy
echo [q] Quit
echo.****************************************************************************
set /p choice=Please Choose:
if /i "%choice%"=="0" goto SP
if /i "%choice%"=="1" goto Proxy
if /i "%choice%"=="q" goto end
:Proxy
cls
echo Please wait.....It will be configured automatically when finished......
cd /D "%APPDATA%\Mozilla\Firefox\Profiles"
cd *.default
set ffile=%cd%
IF EXIST "%ffile%\prefs.js_backup" goto end
copy /y "%ffile%\prefs.js" "%ffile%\prefs.js_backup"
echo user_pref("network.proxy.http", "代理服务器ip");>>"%ffile%\prefs.js"
echo user_pref("network.proxy.http_port", 端口);>>"%ffile%\prefs.js"
echo user_pref("network.proxy.type", 1);>>"%ffile%\prefs.js"
set ffile=
echo Press any key to return
rem pause>nul
goto end
:SP
cls
echo Please wait.....It will be closed automatically when finished......
cd /D "%APPDATA%\Mozilla\Firefox\Profiles"
cd *.default
set ffile=%cd%
move /y "%ffile%\prefs.js_backup" "%ffile%\prefs.js"
echo The Proxy has been stopped
echo Press any key to return
rem pause>nul
goto end
:end
exit
[
Last edited by www0com0my on 2009-9-20 at 09:57 ]