Displays the attributes for the specified key.
NOTE
Symbolic links are not followed.
This command requires the SYSPRV privilege or the REG$LOOKUP
rights identifier.
Format:
LIST KEY key-name
key-name
Specifies the name of the key to list.
1 – Qualifiers
1.1 /CACHE_ACTION
Displays the cache attribute for the key.
1.2 /CLASS_NAME
Displays the class name of the subkey.
1.3 /FULL
Displays all available information-that is, information displayed
by the /LAST_WRITE, /CACHE_ACTION, /INFORMATION, /LINK_PATH, and
/CLASS_NAME qualifiers.
1.4 /INFORMATION
Displays the information (subkey number, value number, subkey
name max, and so on) about the specified key.
1.5 /LAST_WRITE
Displays the time when the subkey was last updated.
1.6 /LINK_PATH
Displays the key path to which the subkey is linked.
1.7 /OUTPUT
/OUTPUT=file-spec
Controls where the output of the command is sent. If you do
not specify a file name, the system uses the default name
REGISTRY.LIS.
1.8 /WAIT
/WAIT=seconds (default = 90)
/NOWAIT
Specifies the maximum amount of time, in seconds, that you are
willing to wait for command completion. If the Registry server
does not complete the request in the specified interval, REG$CP
returns REG-F-NORESPONSE. The default interval is 90 seconds.
/NOWAIT is equivalent to specifying /WAIT=0, but there may still
be a short wait period.
2 – Example
The LIST KEY/FULL command in this example displays the GUEST
key attributes as well as the name and attributes of the
subkeys of GUEST.
REG> LIST KEY/FULL HKEY_USERS\GUEST
Key name: HKEY_USERS\GUEST
Security policy: REG$K_POLICY_NT_40
Volatile: REG$K_NONE
Cache: REG$K_WRITEBEHIND
Class: System Authorization
Link Type: REG$K_NONE
Last written: 7-AUG-1998 12:42:08.55
Key information:
Number of subkeys: 2 Number of values: 0
Max size of subkey name: 40 Max size of class name: 40
Max size of value name: 0 Max size of value data: 0
Subkey(s):
Key name: QUOTAS
Security policy: REG$K_POLICY_NT_40
Volatile: REG$K_NONE
Cache: REG$K_WRITEBEHIND
Class: Disk quota
Link Type: REG$K_NONE
Last written: 7-AUG-1998 12:41:19.21
Key information:
Number of subkeys: 0 Number of values: 0
Max size of subkey name: 0 Max size of class name: 0
Max size of value name: 0 Max size of value data: 0
Key name: IDENTIFIER
Security policy: REG$K_POLICY_NT_40
Volatile: REG$K_NONE
Cache: REG$K_WRITETHRU
Class: Disk quota
Link Type: REG$K_SYMBOLICLINK
Link Path: HKEY_LOCAL_MACHINE\SOFTWARE\IDENTIFIER\GUEST
Last written: 7-AUG-1998 12:42:08.55
Key information:
Number of subkeys: 0 Number of values: 0
Max size of subkey name: 0 Max size of class name: 0
Max size of value name: 0 Max size of value data: 0
NOTE
The Max sizes information shows the number of bytes, not
characters. (Each character is 4 bytes long.)