ATTR
----

Format:        ATTR filespec [/H] [[-]|[+]H] [[-]|[+]R]

Purpose:       Changes  the attributes of files to make  them 
          hidden/not hidden and read only/not read only.

Use:           The   filespec   specifies  the  files   whose 
          attributes are to be changed,  and /H allows hidden 
          files to be included in the operation.

               If  the  H or +H option  is  given,  then  the 
          selected  files are marked as hidden,  and will not 
          be affected by most commands or be shown by the DIR 
          command  unless  a /H option is  given  with  those 
          commands. The -H option marks the selected files as 
          not  hidden.  Note that -H will not have any effect 
          unless the /H option is also given.

               If  the  R or +R option  is  given,  then  the 
          selected  files  are marked as read  only.  The  -R 
          option  marks the selected files as not  read  only 
          (read/write).

Examples:

     ATTR FRED R

               The file FRED is marked as read only.


     ATTR B:\BOOT\*.COM H

               All  the  .COM files in the directory BOOT  on 
          drive B: are marked as hidden.


     ATTR \SOURCE/H -H -R

               All  the  files in the  directory  SOURCE  are 
          marked as not hidden and not read only.
