
B-6
Falcon
®
DOS Portable Terminals
are independent from
command.com
. Internal commands that are unique to
config.sys
processing are also identified. These commands can be used
only in a
config.sys
file.
ATTRIB
Type
External
Purpose
The
ATTRIB
command either displays or modifies the attribute of a file.
Syntax
ATTRIB [+ ¦ -][
option
][
filespec
]
Remarks
The file attributes define the characteristics of a file. They determine if a file
may be deleted or modified, or if it is archived. The
ATTRIB
command is used
to manage these file attributes.
Wildcard characters may be used in the
ATTRIB filespec
.
The
ATTRIB
command will modify file attributes if modify commands are
given to
ATTRIB
. The modify commands are:
If no modify commands are found by
ATTRIB
, then the files are displayed
along with the file names and their current attributes.
Examples
ATTRIB
will add the read-only attribute to the file
myfile.dat
.
r myfile.dat
ATTRIB
will remove the read-only attribute and the archive attribute of all
files with the DAT extension.
ATTRIB -a -r *.dat
Command
Description
+/-
Add(
+
) or remove(
-
) attribute
A
Archive attribute
C
Clear all attributes
H
Hidden file attribute
R
Read only attribute
S
System file attribute
advuser.book Page 6 Friday, September 27, 2002 4:22 PM