Command: register

Syntax

register <key> {,<string>......}

Description

Set the data for the value of a Windows registry key. This command is available on Windows systems only.

Parameters

Switches

Notes

If no string value(s) are supplied, the relevant registry entry is deleted and if the key has sub-keys, they will be deleted recursively.

Keys will be created down a hierarchy if they do not exist.

Examples

Add/change the data for value "Name" in the key "Acme".

register "HKEY_CURRENT_USER/SOFTWARE/Acme/Name","fred"

Delete the value.

register "HKEY_CURRENT_USER/SOFTWARE/Acme/Name"

See Also

Functions:

registry