Microsoft Windows XP Professional Administrators Guide
Displays, changes, or adds a registry subkey and value.
Syntax
reg add keyname [/v entry] [/ve] [/t type] [/s separator] [/d value] [/f]
| Parameters | |
|---|---|
| | |
| Parameter | Purpose |
| | |
| Keyname | Specifies the path to the subkey. |
| [/v entry] | Specifies the entry name to be added. |
| [/ve] | Adds the entry as a null value. |
| Parameter | Purpose |
|---|---|
| | |
| [/t type] | Sets the entry type (REG_SZ, REG_MULTI-SZ, REG_DWORD_BIG_ENDIAN, REG_DWORD, REG_BINARY, REG_DWORD_LITTLE_ENDIAN, REG_LINK, REG_FULL_RESOURCE_DESCRIPTOR AND REG_EXPAND_SZ). |
| [/s separator] | When using the REG_MULTI-SZ type, this parameter specifies the separator chapter that is to identify multiple pieces. |
| [/d value] | Specifies a value for a new registry entry. |
| [/f] | Adds a subkey or entry without requiring confirmation. |