/sys$common/syshlp/REGCP$HELP.HLB  —  SEARCH

1  –  KEY

    Displays the path name of all the keys that match the specified
    key.

    This command requires the SYSPRV privilege or the REG$LOOKUP
    rights identifier.

    Format:

      SEARCH KEY  key-search

    key-search

    Specifies the key name for which to search.

1.1  –  Qualifiers

1.1.1    /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.1.2    /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.

1.2  –  Example

        REG> SEARCH KEY HKEY_LOCAL_MACHINE\...\NODE
        HARDWARE\CLUSTER\NODE
        HARDWARE\LOCAL\NODE
        NODE

      Displays all the key paths that match the HKEY_LOCAL_
      MACHINE\...\NODE selection. The ellipsis (...) wildcard
      specifies that there can be any number of subkeys between the
      HKEY_LOCAL_MACHINE entry point and the NODE subkey. Note that
      the search is not case sensitive.

2  –  VALUE

    Displays the path name of all the values that match the specified
    value name.

    This command requires the SYSPRV privilege or the REG$LOOKUP
    rights identifier.

    Format:

      SEARCH VALUE  key-name value-name

    key-name

    Specifies the name of the key path to search.

    value-name

    Specifies the value name for which to search.

2.1  –  Qualifiers

2.1.1    /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.

2.1.2    /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.2  –  Example

        REG> SEARCH VALUE HKEY_LOCAL_MACHINE\... *AM%
        HARDWARE\CLUSTER\Name
        HARDWARE\CLUSTER\NODE\Name
        HARDWARE\LOCAL\NODE\Name
        NODE\COMPUTERNAME

      Displays all the value names that match the HKEY_LOCAL_
      MACHINE\...\*am% selection. The ellipsis (...) wildcard
      specifies that there can be any number of subkeys between the
      HKEY_LOCAL_MACHINE entry point and the *am% value name. Note
      that the search is not case sensitive.
Close Help