联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!
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