*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> mattrib (1)              
Title
Content
Arch
Section
 

mattrib(1)

Contents


NAME    [Toc]    [Back]

       mattrib  -  mtools  utility  to  change DOS file attribute
       options

SYNOPSIS    [Toc]    [Back]

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

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

OPTIONS    [Toc]    [Back]

       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    [Toc]    [Back]

       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  supported.   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    [Toc]    [Back]

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

EXIT STATUS    [Toc]    [Back]

       The following exit values are returned: Success.  Failure.

ENVIRONMENT VARIABLES    [Toc]    [Back]

       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    [Toc]    [Back]

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








SEE ALSO    [Toc]    [Back]

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



                                                       mattrib(1)
[ Back ]
 Similar pages
Name OS Title
mcd Tru64 mtools utility to change or report the DOS working directory
mformat Tru64 mtools utility to add a DOS file system to a
mdel Tru64 mtools utility to delete a DOS file
mtype Tru64 mtools utility to display the contents of a DOS file
mren Tru64 mtools utility to rename an existing DOS file
dos2unix Tru64 mtools utility to convert a DOS file to UNIX
unix2dos Tru64 mtools utility to convert a UNIX file to DOS format
mwrite Tru64 mtools utility to perform a low level write (copy) of a UNIX file to DOS
mread Tru64 mtools utility to perform a low level read (copy) of a DOS file to UNIX
mkmanifest Tru64 mtools utility to create a shell script to restore UNIX file names from DOS
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service