REGCP$HELP.HLB  —  EXPORT  KEY
    Exports a specific OpenVMS Registry database key (and optionally
    its subkeys) to a text format file. /NOSUBKEYS is the default.

    The default file format is OpenVMS format.  You can also specify
    that the file be exported as a Windows NT-compatible text file
    format, which you can use to import key names and values into a
    Windows Registry.

    This command requires the SYSPRV privilege.

    Format:

      EXPORT KEY key-name

    key-name

    Specifies the name of the key to be exported.

1  –  Qualifiers

1.1    /FORMAT

    /FORMAT=NT
    /FORMAT=OPENVMS (default)

    Specifies the format in which the system writes the database.

                                 NOTE

        If you intend to import the exported text file to an OpenVMS
        system, do not specify /FORMAT=NT.  NT Export Registry File
        format does not preserve OpenVMS specific data structures.

1.2    /LOG

    Displays the export progress to the screen.

1.3    /OUTPUT

    /OUTPUT=file-name

    Specifies a name for the exported file. The default output file
    name is REGISTRY.TXT.

1.4    /SUBKEY

    /SUBKEY
    /NOSUBKEYS (default)

    Specifies whether or not the key's subkeys are also to be exported.

1.5    /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.
Close Help