从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
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"}
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
setx.exe extracted from the WinXP SP2 support tools package
http://zhenlove.com.cn/cndos/fileup/files/setx_xp.zip
Used to set global environment variables.
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
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"}
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