qc.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
File-Attribute Constants
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Constant:  _A_ARCH, _A_HIDDEN, _A_NORMAL, _A_RDONLY, _A_SUBDIR,
             _A_SYSTEM, _A_VOLID
 
  Include:   <dos.h>
 
  Context:   _dos_findfirst, _dos_findnext, _dos_getfileattr,
             _dos_setfileattr
 
  Synopsis:  The current attributes of the file or directory
             specified by the function.
 
     The attributes are represented by the following manifest
     constants:
 
     Constant      Meaning
 
     _A_ARCH       Archive. Set whenever the file is changed, or
                   cleared by the DOS BACKUP command.
 
     _A_HIDDEN     Hidden file. Cannot be found with the DOS DIR
                   command. Returns information about normal files as
                   well as files with this attribute.
 
     _A_NORMAL     Normal. File can be read or written to without
                   restriction.
 
     _A_RDONLY     Read-only. File cannot be opened for writing, and
                   a file with the same name cannot be created. Returns
                   information about normal files as well as files with
                   this attribute.
 
     _A_SUBDIR     Subdirectory. Returns information about normal files
                   as well as files with this attribute.
 
     _A_SYSTEM     System file. Cannot be found with the DOS DIR
                   command. Returns information about normal files as
                   well as files with this attribute.
 
     _A_VOLID      Volume ID. Only one file can have this attribute,
                   and it must be in the root directory.
 
     Multiple constants can be combined with the OR operator by using
     the vertical-bar (|) character.