Displays or changes file attributes.
Syntax:
ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [drive:][path][filename] [/S [/D]]
Ex:
c:\>attrib
ð To display the hidden files.
c:\>attrib +h (directory or file name)
ð To make a file hidden.
c:\>attrib -h (directory or file name)
ð To remove the hidden status of a directory.
c:\>attrib +r (directory or file name)
ð To make a read only file
c:\>attrib +s (directory or file name)
ð To make a system file.
c:\>attrib +a (directory or file name)
ð To make a archive file.
c:\>attrib +a (directory or file name)
ð To remove the archive permission.
c:\>attrib +h +s +r +a (directory or file name)
ð To make all attribute permission.
c:\>attrib -h -s -r -a (directory or file name)