mattrib man page on Tru64

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
Tru64 logo
[printable version]

mattrib(1)							    mattrib(1)

NAME
       mattrib - mtools utility to change DOS file attribute options

SYNOPSIS
       mattrib	[-a   | +a] [-h	 | +h] [-r  | +r] [-s  | +s] msdosfile [msdos‐
       files...]

       The mattrib command sets (+) or clears (-) the attribute options	 of  a
       DOS file.

OPTIONS
       Sets  or	 resets the archive bit.  Some backup programs use this option
       to indicate a new file.	Sets or resets	the  hidden-bit.  This	option
       hides  files  from  the	DOS DIR command.  To view these files, use the
       mdir command.  Sets or resets the read-only bit.	 This option  is  used
       to  indicate  a	read-only  file.  If this bit is set, a file cannot be
       removed using the DOS DEL command.  To remove the file,	use  the  mdel
       command.	 Sets or resets the system bit.	 This option is used by DOS to
       indicate an operating system file.

DESCRIPTION
       The mattrib command sets the attribute options of a DOS file using  the
       plus  (+)  operator,  or	 clears	 attribute options using the minus (-)
       operator.  DOS pathnames that contain the '/' or '\' separator are sup‐
       ported.	 If  you  use the '\' separator or wildcards, you must enclose
       file names in quotes to protect them from the shell.

       The mcd command can be used to establish the  device  and  the  current
       working directory (relative to DOS), otherwise the default is A:\.

RESTRICTIONS
       The  DOS	 version  of  the  attrib  command does not support all of the
       options listed on this reference page.

EXIT STATUS
       The following exit values are returned: Success.	 Failure.

ENVIRONMENT VARIABLES
       The following environment variables affect the execution of mattrib: If
       set, this variable names the file that contains the name of the current
       mtools working directory as established by the mcd  command.   If  this
       variable is not set, the file $HOME/.mcwd is used.

FILES
       Contains	 the  name  of	the current mtools working directory as estab‐
       lished by the mcd command.  If this file does not  exist,  the  default
       mtools working directory is A:\.	 Executable file

SEE ALSO
       Commands: mcd(1), mdel(1), mdir(1), mtools(1)

								    mattrib(1)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Tru64

List of man pages available for Tru64

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net