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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.