New commands are available that enable you to read and write to the system Registry.
The SET REG command enables you to read values from the system Registry into a variable. This is analogous to the SET NIS command. The keys HKEY_LOCAL_MACHINE may be abbreviated to HKLM and HKEY_CURENT_USER may be abbreviated to HKCU.
The REG directive command enables you to write to the system Registry. This command should be used with great caution.
For example, the command REG NEWKEY keypath creates a new key, and the command REG DELKEY keypath deletes the named key.