Follow this blog:
RSS
Email Alert

TR Dojo

Pop Quiz: Windows command line file and folder tools

Takeaway: Do you know the difference between the ftype and assoc commands? Test your knowledge of working with files and folders from the Windows command line.

For many end users, the Windows Explorer GUI is the only mechanism they’ll use to manipulate files and folders. But, IT pros often find times when they need to copy files, delete folders, or change file type associations from the command line. So, I’ve put together this short quiz to test your knowledge of working with files an folder from the Windows 7 command prompt.

Note: Unfortunately, our poll tool, which I use to create each pop quiz, doesn’t let me indicate a correct answer after each question. To keep from giving away the answers before everyone has a chance to test his/her knowledge, and ruining all the fun, I’ve published the answers on the second page of this blog post. I encourage everyone to answer all the questions before looking at the second page or using your favorite search engine to find the answers.

Which of the following commands is used to change the command prompt path to a different location?

Which of the following commands would create a directory called files at the root of the c:\ drive?

Which of the following commands would create a directory called new files at the root of the c:\ drive?

Which of the following commands would delete the directory data, which contains files, from the root of the c:\drive?

Which of the following commands would you use to view or modify the file type associated with a specific file extension?

Which of the following commands would you use to view or modify the application that will open a specific file type?

Which of the following commands would you use to view or change a file's attributes?

Which of the following commands would you use to encrypt all the files in the current directory and change the directory attribute to E?

Which of the following commands would you use to delete all files in the current directory with the .txt extension?

Which of the following commands would you use to take ownership of a file named data.txt in the current directory?

Answers are on the next page.

Get IT Tips, news, and reviews delivered directly to your inbox by subscribing to TechRepublic’s free newsletters.

Bill Detwiler

About Bill Detwiler

Bill Detwiler is Head Technology Editor of TechRepublic. Previously, he worked as a Support Tech and IT Manager in the social research and energy industries.

Bill Detwiler

Bill Detwiler
Bill Detwiler is Head Technology Editor for TechRepublic. Previously he worked as a Technical Support Associate and Information Technology Manager in the social research and energy industries. Bill is a Microsoft Certified Professional with experience in Windows administration, data management, desktop support, and system security.

Bill Detwiler

Bill Detwiler
Bill Detwiler has nothing to disclose. He doesn't hold investments in the technology companies he covers.
19
Comments

Join the conversation!

Follow via:
RSS
Email Alert