User`s guide
174 ROM-DOS Commands
MX1 Reference Guide E-EQ-MX1RG-D
Examples
DEVICE=ANSI.SYS
This example loads ANSI.SYS with default settings.
DEVICE=ANSI.SYS /T54 /S
Load ANSI.SYS with mode 54h as a video text mode and disable keyboard redefinition.
ATTRIB.EXE
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:
+/- Add(+) or remove(-) attribute
A Archive attribute
C Clear all attributes
H Hidden file attribute
R Read only attribute
S System file attribute
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.
ATTRIB +r myfile.dat
ATTRIB will remove the read-only attribute and the archive attribute for all files with the DAT
extension.
ATTRIB -a -r *.dat
ATTRIB will display the attributes of all files with the DAT extension.
ATTRIB *.dat