5.11. Answers

  1. D. Although C looks like a good choice as well, using the subdirectory switch, it has an additional period in the search string, so will not return as many files and will work only if Mary's document has a period in front of the word budget. See "dir".

  2. B. The attrib.exe command allows you to change only the attribute before the file is opened. Review "Working with Other Useful Commands".

  3. D. The attrib.exe command can be used to remove the archive attribute from all files in a directory structure. Then, as files are modified, you can use xcopy *.* c:\backuplocation /s /a to copy all the files to a new location. If you want your next copy to copy the files that were modified since the last copy, you have to use the attrib command to remove the archive attribute again. Check out "xcopy".

  4. C. The suggested command will cause a syntax error, and nothing will be copied. The copy command does not support either /s or /e; to use these options, you have to use the xcopy.exe command. Peruse "xcopy".

  5. D. defrag is used to reorganize files, which speeds up access to the disk. Check out "defrag.exe".

  6. C. To assign a specific file system to a drive during formatting, use the /FS: option. Look over "format.com".

  7. C. mem tells you how much conventional memory is available to your applications. See "mem.exe".

  8. A. xcopy.exe can copy entire directory structures. Examine "xcopy".

  9. B. rmdir removes directories on a Windows XP computer even if they contain files. Review "rmdir".

Get CompTIA A+® Certification All-In-One For Dummies®, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.