|
OS Fundamentals
Identify basic concepts and procedures for creating, viewing and
managing files, directories and disks. This includes procedures for
changing file attributes and the ramifications of those changes (for
example, security issues). Content may include the following:
File attributes - Read Only, Hidden, System, and Archive
attributes
ATTRIB [+R | -R] [+A | -A] [+S | -S] [+H | -H] filespec [/S]
-
+ Sets an attribute.
-
- Clears an attribute.
-
R Read-only file attribute.
-
A Archive file attribute.
-
S System file attribute.
-
H Hidden file attribute.
-
/S Processes files in all directories in the specified path.
The Read-only attribute
Before you can delete or overwrite a Read-only file, you must remove
the Read-only file attribute bit.
The Hidden and System attribute
The
purpose of the Hidden attribute is to make the file invisible in
certain applications' file list display. These are usually important
files the OS does not want you to play around with.
The
System attribute, just as the name implies are usually files the OS
needs to operate. In most Win systems, you will find about twenty
files in the root directory which are marked both Hidden and System.
These two attributes are often go hand in hand.
The Archive attribute
The
purpose of the Archive attribute is to determine whether a file
requires a back up (archiving). The Archive attribute is set
whenever an existing file is either overwritten or modified. A new
file is usually created with the Archive attribute set.
When
you run the a back up program it will copy these archived files and
then clear the Archive attribute, until the file is modified again.
|