Mattrib is used to change MS-DOS file attribute flags. It has the following syntax:
Mattrib adds attribute flags to an MS-DOS file (with the `+' operator) or remove attribute flags (with the `-' operator).
Mattrib supports the following attribute bits:
Archive bit. Used by some backup programs to indicate a new file.
Read-only bit. Used to indicate a read-only file. Files with this bit set cannot be erased by DEL nor modified.
System bit. Used by MS-DOS to indicate a operating system file.
Hidden bit. Used to make files hidden from DIR.
Mattrib supports the following command line flags:
Recursive. Recursively list the attributes of the files in the subdirectories.
Concise. Prints the attributes whithout any whitespace padding. If neither the msdosfile'' contains a wildcard, and there is only one Msdos file parameter on the command line, only the attribute is printed, and not the filename. This option is convenient for scripts
This manpage has been automatically generated from mtools's texinfo documentation. However, this process is only approximative, and some items, such as crossreferences, footnotes and indices are lost in this translation process. Indeed, these items have no appropriate representation in the manpage format. Moreover, not all information has been translated into the manpage version. Thus I strongly advise you to use the original texinfo doc. See the end of this manpage for instructions how to view the texinfo doc.
To generate a printable copy from the texinfo doc, run the following commands:
./configure; make dvi; dvips mtools.dvi
To generate a html copy, run:
To generate an info copy (browsable using emacs' info mode), run:
./configure; make info