The following list contains known limitations for SetX:
SetX writes variables to the master environment in the
registry. Variables set with SetX variables are available only in
future command windows, not in the current command window. This is
a limitation of Windows XP.
When gaining access to REG_MULTI_SZ values in the registry,
only the first item is extracted and used.
The only supported hives are HKEY_CURRENT_USER and
HKEY_LOCAL_MACHINE.
Values added to the user or system environments cannot be
removed with SetX. A corresponding value can be removed from the
local environment by using SET with a variable name and no
value.
Registry values of type REG_DWORD are extracted and used in
hexadecimal mode.
File Mode supports the parsing of CR-LF text files only.