Read a value from the key you specify.



This command will only retrieve values from the following keytypes:

HKEY is the "Hive Key" where the key is to be placed. These hives are files that are loaded by your machine when booting and compose the registry structure. By default, most scripts use HKLM as the work hive. Valid HKEY values are:

Section is the complete path to the section where the key is to be read from

Key is the name of the 'child key' in that section to be read.



In this example the variable %Value% will store the value of the mentioned key