Chapter 3. Using Basic Commands

This chapter provides information and commands concerning the following topics:

Understanding folders and directories

Understanding paths

Viewing files and folders with dir

Changing the path with cd

Using drag and drop to the Command Prompt window

Deleting folders with rd

Creating folders with md

Controlling output with more

Redirecting output

Using exit

Understanding Folders and Directories

The contents of Windows disks are organized into folders. In the early days of MS-DOS, these folders were called directories, but as the graphical user interface became prominent, the term folders became much more common, in part because the icon looks like a file folder.

Figure 3-1 shows folders within ...

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.