Frequent Questions      

     CompTIA Comptia A+ Certification Practice Questions

 

File attributes

 

Home
Up       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
Up                Previous           Next

 


Copyright 2000-2017 SimulationExams.com All rights reserved

Website design by Anandsoft.com

Disclaimer: All Simulation Exams practice tests, study guides and/or material are neither sponsored by, nor endorsed by, nor affiliated with CompTIA or any other company. All trademarks are trademarks of their respective owners and duly  acknowledged. A+, Network+, i-Net+, Server+,Security+ are registered trade marks of CompTIA. The practice tests material is a copyright of SimulationExams.com and the same is not approved or endorsed by respective certifying bodies. Thank-you for your interest in Simulation Exams. Please see read me file before you download, install, and/or use any software from SimulationExams.com  For any information or questions regarding this Website, please e-mail webmaster at simulationexams.com