The DIR Command
Typing DIR and pressing enter (enter or return key) will display a list of everything that is the current area (current directory) of the specified drive. A directory is really just another name for what is now called a folder in Windows. So, you can see that the DIR command is yet another way to find out the contents of a folder.
Using a modifier or a switch will change what information is displayed by the DIR command. A switch is a modifier that tells the command to operate in a specific way, other than its default behavior. For example:
Typing DIR/P (Directory/ Pause) will change the same output from the DIR command rolling off the screen. Instead, it will fill the screen, and pause waiting for any keystroke to tell it to continue. Notice the examples of Figure 138 and Figure 139.
Notice that with the DIR command and the /P switch, the screen display paused with the message:
Press any key to continue
8 Practice DIR command
Home - Table Of Contents - Contact Us
CertiGuide to A+ (Operating Systems) (http://www.CertiGuide.com/apluso/) on CertiGuide.com
Version 1.0 - Version Date: January 7, 2005
Adapted with permission from a work created by Tcat Houser.
CertiGuide.com Version © Copyright 2005 Charles M. Kozierok. All Rights Reserved.
Not responsible for any loss resulting from the use of this site.