PrepAway - Latest Free Exam Questions & Answers

Which of the following switches of the ATTRIB command clears the attributes of a file?

Which of the following switches of the ATTRIB command clears the attributes of a file?

PrepAway - Latest Free Exam Questions & Answers

A.

B.
A

C.
+

D.
R

Explanation:

The ATTRIB command uses the – switch to clear the attributes of a file. For example, in order to clear
the Hidden attribute of a file, a user will have to type the following command on the command
prompt:
ATTRIB -H <filename>
Where H is used for the Hidden attribute.
Answer option C is incorrect. The ATTRIB command uses the + switch to set the attributes of a file.
Answer option D is incorrect. The ATTRIB command uses the R switch for the Read-only attribute.
Answer option B is incorrect. The ATTRIB command uses the A switch for the Archive attribute.
Reference: “http://www.computerhope.com/attribhl.htm”


Leave a Reply