Tuesday, July 8, 2008

IBM Certified Specialist Certification Exam 000-637

Of the following options, which one is the correct syntax to set the read-only
attribute on the file TEST.DOC?

A. ATTRIB r+ TEST.DOC
B. ATTRIB TEST.DOC +r
C. ATTRIB TEST.DOC -r
D. ATTRIB TEST.DOC r-
Answer: B
Explanation:
Attributes are set for files 000-636 using an external DOS command called ATTRIB.EXE, which
uses using the following syntax:


Leading the way in IT testing and certification tools, www.certifyme.com
- 113 -


ATTRIB [+ or -][attribute]

+ Sets an attribute.
- Clears an attribute.
R Read-only file attribute.
A Archive file attribute.
S System file attribute.
H Hidden file attribute.

Reference:
David Groth and Dan Newland,000-637 A+ Complete Study Guide (Second Edition), Sybex,
Alameda, CA, 2001, pp. 550, 792.

No comments: