


MATTRIB(1)					     MATTRIB(1)


NNAAMMEE
       mattrib - change MSDOS file attribute flags

SSYYNNOOPPSSIISS
       mmaattttrriibb	[ --aa||++aa ] [ --hh||++hh ] [ --rr||++rr ] [ --ss||++ss ] msdosfile
       [ msdosfiles... ]

DDEESSCCRRIIPPTTIIOONN
       _M_a_t_t_r_i_b will add attribute flags to an  MSDOS  file  (with
       the  '+' operator) or remove attribute flags (with the '-'
       operator).

       _M_a_t_t_r_i_b will allow the following command line options:

       aa      Archive bit.  Used by some backup programs to indi-
	      cate a new file.

       rr      Read-only	bit.  Used to indicate a read-only file.
	      Files with this bit set cannot be	erased	by  DEL.
	      However, _m_d_e_l is more cunning.

       ss      System  bit.  Used by MSDOS to indicate a operating
	      system file.

       hh      Hidden bit.  Used to make files  hidden  from  DIR.
	      However, _m_d_i_r is more cunning.

       MSDOS subdirectory names are supported with either the '/'
       or '\' separator.  The use of the '\' separator	or  wild-
       cards  will  require the names to be enclosed in quotes to
       protect them from the shell.

       The _m_c_d command may be used to establish	the  device  and
       the  current working directory (relative to MSDOS), other-
       wise the default is A:/.

SSEEEE AALLSSOO
       mcd(1)

BBUUGGSS
       Most versions of ATTRIB don't allow this many options.
















			      local				1


