5.10. Prep Test

  1. You are working on the help desk, and you receive a call from Mary. She is looking for a file that is saved on her hard drive. She has forgotten the name she gave it, but she knows that the title contains the word "budget" and that it is a Microsoft Excel spreadsheet. What command will best help her locate her document?

    1. ^ dir *budget.xls

    2. ^ dir *budget*.xls /b

    3. ^ dir *.budget*.xls /s

    4. ^ dir *budget*.xls /b /s

  2. Sitting at your computer one day, you attempt to open a file with the edit command, but you see in the title bar that the file is opened as read-only. How can you open the file for editing?

    1. ^ Open the file using edit <filename> /modify.

    2. ^ Before opening the file, use attrib -r <filename>.

    3. ^ After the file is open, use attrib -r <filename>.

    4. ^ When you attempt to save the file, check off the Overwrite Existing File option.

  3. You need to regularly back up files in a directory, but you want to back up only files that have changed. What commands can you use to accomplish this in the easiest way possible?

    1. ^ fc and xcopy

    2. ^ attrib and copy

    3. ^ fc, changes, and xcopy

    4. ^ xcopy and attrib

  4. You want to copy a directory structure (complete with subdirectories), so you use copy c:\dir1\*.* c:\newdir /s /e. What will you find in the newdir directory?

    1. ^ All files that were in dir1

    2. ^ All files and subdirectories that were in dir1

    3. ^ Nothing — the command is improperly constructed and will generate an error

    4. ^ None of the above

  5. You receive a call from a user on your network complaining that his computer ...

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.