ATTRIB
Section: Misc. Reference Manual Pages (utility
)
Index
Return to Main Contents
NAME
ATTRIB - Display or modify DOS file attributes
SYNOPSIS
ATTRIB [+/-RASH ...] [[drive:][path]filename] [/F][/S][/V]
DESCRIPTION
ATTRIB is used to display or modify the attributes of files. A plus
or minus character is indicated in order to set or clear a specific
file attribute.
OPTIONS
+/-R Sets or clears the READ ONLY file attribute.
+/-A Sets or clears the ARCHIVE file attribute.
+/-S Sets or clears the SYSTEM file attribute.
+/-H Sets or clears the HIDDEN file attribute.
/F - Full listing showing path and volume lable for each file.
/S - Process files in all subdirectories.
/V - Verbose command operation displays additional information.
AUTHOR
(C) 1995 Dave Dunfield - Freely Distributable.
EXAMPLES
To list the file attributes in all files in the current directory:
ATTRIB
To clear the READ ONLY attribute from a file named FOO.TXT:
ATTRIB -R FOO.TXT
To set the HIDDEN and READ ONLY attributes on a
file BAR.TXT while removing the ARCHIVE attribute:
ATTRIB +HR -A BAR.TXT
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- OPTIONS
-
- AUTHOR
-
- EXAMPLES
-
This document was created by
man2html,
using the manual pages.
Time: 19:44:26 GMT, February 07, 2023