.TH mattrib 1 "29jun97" mtools-3.7 .SH Name mattrib - change MSDOS file attribute flags '\" t .de TQ .br .ns .TP \\$1 .. .tr \(is' .tr \(if` .tr \(pd" .SH Note 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, this items have no appropriate representation in the manpage format. Moreover, only the items specific to each command have been translated, and the general information about mtools has been dropped in the manpage version. Thus I strongly advise you to use the original texinfo doc. .TP * \ \ To generate a printable copy from the texinfo doc, run the following commands: .nf .ft 3 .in +0.3i ./configure; make dvi; dvips mtools.dvi .fi .in -0.3i .ft R .lp \&\fR .TP * \ \ To generate a html copy, run: .nf .ft 3 .in +0.3i ./configure; make html .fi .in -0.3i .ft R .lp \&\fRA premade html can be found at: \&\fR\&\f(CW\(ifhttp://linux.wauug.org/pub/knaff/mtools\(is\fR .TP * \ \ To generate an info copy (browsable using emacs' info mode), run: .nf .ft 3 .in +0.3i ./configure; make info .fi .in -0.3i .ft R .lp \&\fR .PP The texinfo doc looks most pretty when printed or as html. Indeed, in the info version certain examples are difficult to read due to the quoting conventions used in info. .PP .SH Description .iX "p mattrib" .iX "c Changing file attributes" .iX "c Hidden files" .iX "c Read-only files (changing the attribute)" .iX "c System files" .iX "c Archive bit" .PP \&\fR\&\f(CWMattrib\fR is used to change MS-DOS file attribute flags. It has the following syntax: .PP \&\fR\&\f(CWmattrib\fR [\fR\&\f(CW-a|+a\fR] [\fR\&\f(CW-h|+h\fR] [\fR\&\f(CW-r|+r\fR] [\fR\&\f(CW-s|+s\fR] \fImsdosfile\fR [ \fImsdosfiles\fR \&... ] .PP \&\fR\&\f(CWMattrib\fR adds attribute flags to an MS-DOS file (with the `\fR\&\f(CW+\fR' operator) or remove attribute flags (with the `\fR\&\f(CW-\fR' operator). .PP \&\fR\&\f(CWMattrib\fR supports the following attribute bits: .TP \&\fR\&\f(CWa\fR\ Archive bit. Used by some backup programs to indicate a new file. .TP \&\fR\&\f(CWr\fR\ Read-only bit. Used to indicate a read-only file. Files with this bit set cannot be erased by \fR\&\f(CWDEL\fR nor modified. .TP \&\fR\&\f(CWs\fR\ System bit. Used by MS-DOS to indicate a operating system file. .TP \&\fR\&\f(CWh\fR\ Hidden bit. Used to make files hidden from \fR\&\f(CWDIR\fR. .SH See Also Mtools' texinfo doc