home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / progm / chasm2.zip / CHMOD.DOC < prev    next >
Text File  |  1986-01-02  |  2KB  |  48 lines

  1. CHMOD
  2. Command
  3.  
  4. ----------------------------------------------------------------
  5. Purpose:  Displays or modifies the attributes of the specified
  6.           file.
  7.  
  8. Format:   CHMOD [d:][path] filename[.ext] [/n][/r][/h][/s]
  9.  
  10. Type:     Internal         External
  11.                              ***
  12.  
  13. Remarks:  The specified file's attributes are modified according
  14.           to the specified options:
  15.  
  16.                    /N  Normal
  17.                    /R  Read-only
  18.                    /H  Hidden
  19.                    /S  System
  20.  
  21.           Multiple options may be specified.  /N will cancel any
  22.           options preceding it on the command line.
  23.  
  24.           If no options are specified, a report of the file's
  25.           current attributes is sent to the standard output.
  26.  
  27.           Upon exit, CHMOD sets ERRORLEVEL according to the
  28.           file's current (updated) attributes, and/or the success
  29.           of the operation:
  30.  
  31.                    Normal file      ==> 0
  32.                    Read-only file   ==> 1
  33.                    Hidden file      ==> 2
  34.                    System file      ==> 4
  35.                    Failed operation ==> 8
  36.  
  37.           The only documented way to generate the "failed
  38.           operation" error is to specify a non-existant file.
  39.  
  40.           CHMOD requires DOS 2.0, and will abort under earlier
  41.           versions.
  42.  
  43. Author:   David Whitman
  44.           P.O. Box 1157
  45.           North Wales, PA 19454
  46.  
  47. This program is in the public domain.
  48.