VMS Help  —  DCE  DCE_CDS, cdscp  add_directory
 NAME

   add directory - Adds a value to a modifiable, set-valued attribute
                   (including application-defined attributes) of a
                   directory

 SYNOPSIS

   cdscp add directory directory-name attribute-name = attribute-value

 ARGUMENTS

   directory-name
             The full name of the directory.

   attribute-name
             The name of a particular attribute.  Specify only one
             attribute at a time.  See the cds_attributes file for
             the list of attributes that your application uses.

   attribute-value
             The value of a particular attribute.  The value of an
             application-defined attribute is dependent on the type of
             attribute.  See the cds_attributes file for the list of
             attributes and corresponding data types that your
             application uses.  If you enter a byte data type, you
             must enter an even number of digits in length.  You can
             only enter pairs of hexadecimal values for user-defined
             attributes.

 DESCRIPTION

   The add directory command adds a value to a modifiable, set-valued
   attribute (including application-defined attributes) of a directory.
   If the attribute does not exist, this command creates it.  Usually,
   this task is performed through the client application.  See the DCE
   Administration Guide for more information about attributes.

   Privilege Required

   You must have write permission to the directory.

 NOTE
   This command is replaced at Revision 1.1 by the dcecp command and
   may not be provided in future releases of DCE.

 EXAMPLE

   To add the value ontario to the attribute myname of a directory
   named /.:/sales, read the cds_attributes file to verify that the
   attribute shown in the following display exists:

                  OID         LABEL           SYNTAX
              1.3.22.1.3.91   myname          char

   Enter the following command to assign the value ontario to the
   attribute myname:

        cdscp> add directory /.:/sales myname = ontario

 RELATED INFORMATION
   Commands: remove directory
             show directory

   Books: OSF DCE Administration Guide
Close Help