中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-03 08:54
48,038 topics / 350,123 posts / today 0 new / 48,251 members
DOS批处理 & 脚本技术(批处理室) » How to use batch processing device proxy (the meaning is very good)
Printable Version  1,660 / 10
Floor1 thanatos Posted 2006-07-24 08:57
新手上路 Posts 2 Credits 8
I want to directly use a batch script to set up a proxy like xxx.xxx.xx.xxx:8080,
so that when I run this batch script,
the proxy is automatically changed. How can I do this?
This batch script can be placed on the proxy server, which is very meaningful.


[ Last edited by thanatos on 2006-7-24 at 10:22 ]
Floor2 electronixtar Posted 2006-07-24 13:14
铂金会员 Posts 2,672 Credits 7,493
Is the landlord talking about the proxy settings in IE? It can be achieved by modifying the registry.
Floor3 thanatos Posted 2006-07-25 05:56
新手上路 Posts 2 Credits 8
Originally posted by electronixtar at 2006-7-24 13:14:
Is the landlord talking about the proxy settings in IE? It can be achieved by modifying the registry~~

May I ask which registry key is that? How to modify it?
Floor4 zouzhxi Posted 2006-09-22 23:17
中级用户 Posts 177 Credits 430 From 广东深圳
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]

Here it is..
Floor5 electronixtar Posted 2006-09-23 00:00
铂金会员 Posts 2,672 Credits 7,493
Introduce a command I found for all programs that call xmlHttp: proxycfg


Microsoft (R) WinHTTP Default Proxy Configuration Tool
Copyright (C) Microsoft Corporation. All rights reserved.

Current WinHTTP proxy settings are at:
HKEY_LOCAL_MACHINE\
SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Connections\
WinHttpSettings :

Proxy server : localhost
Bypass list : (none)

C:>proxycfg /?
Microsoft (R) WinHTTP Default Proxy Configuration Tool
Copyright (C) Microsoft Corporation. All rights reserved.

Usage:

proxycfg -? : View help information

proxycfg : View current WinHTTP proxy settings

proxycfg ]

-d : Set to direct access
-p : Set proxy server and optional bypass list

proxycfg -u : Import proxy settings from the manual settings of the current user's Microsoft Internet Explorer
(in HKCU)

C:>
Floor6 9527 Posted 2006-09-23 00:18
银牌会员 Posts 438 Credits 1,185 From 北京
Well, awesome, great, learned a new command again...........
Floor7 vkill Posted 2006-09-23 01:47
金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽
Last time I looked at all the exe files under system32, /? is in English and I didn't understand it. Now I've understood it well
Floor8 vkill Posted 2006-09-23 01:50
金牌会员 Posts 1,744 Credits 4,103 From 甘肃.临泽
@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 /d x.x.x.x:8080 /f
start www.163.com
Under XP SP2, the proxy settings take effect only after reopening the web page.
Floor9 zhclvip Posted 2007-02-07 23:11
初级用户 Posts 50 Credits 138
There are command line, and registry.
The几位 upstairs are really strong! Study &×……%
Floor10 NaturalJ0 Posted 2007-02-07 23:15
银牌会员 Posts 533 Credits 1,181
This command is great, learned something new. ^_^
Floor11 anqing Posted 2007-02-08 01:55
高级用户 Posts 413 Credits 859
Brother V's key values have been learned
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023