XP支持工具(可以从XP CD安装)附带一个名为的程序setx.exe:C:\Program Files\Support Tools>setx /?SETX: This program is used to set values in the environmentof 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....For more information and example use: SETX -i我认为Windows 7实际上是setx标准安装的一部分。