Batch Script Registry
The registry is one of the key elements of a Windows system. It contains a lot of information about various aspects of the operating system. Almost all applications installed on a Windows system interact with the registry.
Batch Script Registry
The Registry contains two basic elements: keys and values. Registry keys are container objects similar to folders. Registry values are non-container objects similar to files. Keys can contain values or other keys. Keys are referenced with a syntax similar to that of Windows path names, using backslashes to indicate hierarchical levels.
Several types of registry operations can be performed:
- Reading from the Registry (via the
REG QUERY
command) - Adding to the Registry (via the
REG ADD
command) - Deleting from the Registry (via the
REG DEL
command) - Copying Registry Keys (via the
REG COPY
command) - Comparing Registry Keys (via the
REG COMPARE
command)