Chapter 4. Manipulating Files and Folders

This chapter provides information and commands concerning the following topics:

Associating file extensions with assoc and ftype

Viewing attributes with attrib

Compressing files with compact

Encrypting files with cipher

Copying files with copy, xcopy, and robocopy

Deleting or removing files with del

Expanding cabinet files with expand

Taking ownership of files with takeown

Removing the Windows.old folder

Mapping drives with net use

Associating File Extensions with assoc and ftype

File extensions are used to tell the operating system what application to open when you double-click a file. For example, if you receive a file named project.docx from a co-worker via e-mail, you can simply ...

Get Windows 7 Portable Command Guide: MCTS 70-680, and MCITP 70-685 and 70-686 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.