Query: mattrib
OS: osf1
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
mattrib(1) General Commands Manual mattrib(1)NAMEmattrib - mtools utility to change DOS file attribute optionsSYNOPSISmattrib [-a | +a] [-h | +h] [-r | +r] [-s | +s] msdosfile [msdosfiles...] The mattrib command sets (+) or clears (-) the attribute options of a DOS file.OPTIONSSets 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.DESCRIPTIONThe 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:.RESTRICTIONSThe DOS version of the attrib command does not support all of the options listed on this reference page.EXIT STATUSThe following exit values are returned: Success. Failure.ENVIRONMENT VARIABLESThe 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.FILESContains 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 fileSEE ALSOCommands: mcd(1), mdel(1), mdir(1), mtools(1) mattrib(1)
Related Man Pages |
---|
mtype(1) - suse |
mcd(1) - centos |
mtools(1) - bsd |
mtools(1) - osf1 |
mwrite(1) - osf1 |
Similar Topics in the Unix Linux Community |
---|
Changing Unix Prompt |
Copy files from CDROM to DOS Directory |
There must be a better way |
Unix equivalent of DOS set |
Nifty (and non-working) File Copy Using ls |