Enumerate all the keys in the System Registry for the specified hkey. The keys are stored in an environment variable called ENUMREG.
ENUMREG hkey [/32 | /64]
hkey Specifies the path of the complete key. /32 Specifies the 32-bit registry hive (default). /64 Specifies the 64-bit registry hive.
Parameter hkey must begin with one of the following System Registry names :-
and all the sub-keys must be separated by backslashes (ie. ' \ '), For example :-
The list created contains all the enumerated keys separated by commas.
The /32 and /64 switches are ignored when the WinOne® Command Prompt is running on a 32-bit version of Windows.
Most of the registry keys in 64-bit Windows are reflected between both registry hives, that is, most of the time, using either switch will yield the same result.