Board logo

标题: [环境变量] WinXP SP2支持工具包里提取的setx.exe [打印本页]

作者: airosp     时间: 2007-3-21 06:59    标题: [环境变量] WinXP SP2支持工具包里提取的setx.exe

从WinXP SP2支持工具包里提取的setx.exe

http://zhenlove.com.cn/cndos/fileup/files/setx_xp.zip

用于设置全局环境变量。
SETX: This program is used to set values in the environment
of the machine or currently logged on user using one of three modes.

1) Command Line Mode: setx variable value [-m]
   Optional Switches:
    -m  Set value in the Machine environment. Default is User.

2) Registry Mode: setx variable -k hive\key\...\value
   Optional Switches:
    -m  Set value in the Machine environment. Default is User.

3) File Mode: setx variable -f file {-a x,y | -r x,y "string"} [-d d] [-x] [-m]
   Required Switches:
    -f  file         : Specify file name to use.
    -a  x,y          : Specify absolute coordinates and offset.
    -r  x,y "string" : Specify coordinates and offset relative to string.
   Optional Switches
    -d  ,:\ etc.  : Specify additional delimiters.
    -x            : Displays file coordinates. Switches -a -r -e ignored!!
    -m            : Set value in the Machine environment. Default is User.

For more information and example use: SETX -i

作者: lxmxn     时间: 2007-3-27 00:35

下载收藏了~还有什么好东东哇~~

作者: kingstry     时间: 2007-3-29 09:27
用得着.下载了.多谢楼主厚道
作者: flyboy612     时间: 2007-4-14 09:41
好东西,收藏下来了
作者: skyearth     时间: 2008-4-10 15:03
只能增加、更改,但不能删除所增加的变量啊。
作者: HAT     时间: 2008-4-11 04:46
请问这个工具跟直接写注册表有哪些区别?
作者: gjg123456     时间: 2008-10-12 17:25
不错,正在急着找,呵呵



[







quote]Originally posted by airosp at 2007-3-21 06:59:
从WinXP SP2支持工具包里提取的setx.exe

http://zhenlove.com.cn/cndos/fileup/files/setx_xp.zip

用于设置全局环境变量。
[code]SETX: This program is used to set val ... [/quote]