Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Kitty Hooch

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 76 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here



Note of warning

       This   manpage   has  been  automatically  generated  from
       mtools's texinfo documentation, and may  not  be  entirely
       accurate  or  complete.   See the end of this man page for


       Mattrib is used to change MS-DOS file attribute flags.  It
       has the following syntax:

       mattrib  [-a|+a]  [-h|+h]  [-r|+r] [-s|+s] [-/]  [-p] [-X]
       msdosfile [ msdosfiles ... ]

       Mattrib adds attribute flags to an MS-DOS file  (with  the
       `+'  operator)  or  remove  attribute  flags (with the `-'

       Mattrib supports the following attribute bits:

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

       r      Read-only  bit.  Used to indicate a read-only file.
              Files with this bit set cannot be erased by DEL nor

       s      System bit.  Used by MS-DOS to indicate a operating
              system file.

       h      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.

       X      Concise. Prints the attributes whithout any whites­
              pace padding.  If neither the "/" option is  given,
              nor 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 file­
              name.  This option is convenient for scripts

       p      Replay mode.  Outputs a series of mformat  commands
              that will reproduce the current situation, starting
              from a situation  as  left  by  untarring  the  Dos
              filesystem.  Commands are only output for attribute
              settings that differ from the default (archive  bit
              set for files, unset for directories).  This option

       sentation in the manpage format.  Moreover, not all infor­
       mation 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:

                     ./configure; make html

              A    premade    html    can    be     found     at:
              `http://mtools.linux.lu'      and      also     at:

       *      To generate an info copy  (browsable  using  emacs'
              info mode), run:

                     ./configure; make info

       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.

mtools-3.9.9                 05Jun03                   mattrib(1)



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
You can choose larger fonts by selecting a different themes.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.11 Seconds