Certification tests Certification training Certification tests mcse ccna a+
Practice Tests CCNA MCSE A+ Network+
  IT Certification Practice Exams   HOME  | Cisco  | CompTIA  | CheckPoint | CIW | Microsoft | Books | Bootcamp |  Buy Now!


CompTIA® A+ Certification: 

A+ Essentials IT Technician Exam practice questions
Practice  Questions - File attributes

 

Home                                                                           Previous                     Next

Q2. What is the command syntax for  assigning "Hidden" attribute to file c:\myfile?

 

A.      ATTRIB +R C:\MYFILE

B.       ATTRIB +H C:\MYFILE

C.       ATTRIB -H C:\MYFILE

D.      ATTRIB H  C:\MYFILE

 

  

Correct Answer: B.

Explanation:

DOS allows you to set the following attributes using ATTRIB command:

1.        System

2.        Hidden

3.        Read-only

4.        Archive

 

'+' sets and attribute

'-' clears an attribute

Correct syntax is

ATTRIB [+R -R] [+A -A] [+S -S] [+H -H] [PATH] [FILESPEC] [/S]

/s Processes files in all directories in the specified path.

Home                                                                           Previous                     Next

simulation exams simulation exams simulation exams simulation exams simulation exams simulation exams simulation exams simulation