Search the System Registry for a string.
FINDREG [hkey] "textstring" [/32 | /64]
hkey Specifies the name of the registry to search. textstring Specifies the text string to find. /32 Specifies the 32-bit registry hive (default). /64 Specifies the 64-bit registry hive.
When parameter hkey is not specified then all the registries are searched, otherwise parameter hkey must be on of the following System Registry names :-
Command FINDREG will only search the following types and all other types are ignored :-
REG_SZ A null terminated string. REG_DWORD A 32-bit number. REG_DWORD_LITTLE_ENDIAN Same as REG_DWORD. REG_DWORD_BIG_ENDIAN A 32-bit number which is automatically converted to REG_DWORD format.
The search is not case sensitive.
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.