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


CompTIA® A+ Certification: 

A+ Essentials 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