SetX Topics | Previous | Next

Registry Mode Syntax


One Stepsetx variable -k hive\key\...\value [-m]

Where:

variable

is the name of the environmental variable to set.

-k

specifies that the variable will be set based upon information from a registry key.

hive\key\...\value

is the registry path to the value to use for the environmental variable, for example, HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation\StandardName

-m

sets value in the Machine environment. The default is the User environment.