Complete List of Terms and Definitions for Command Prompt

Terms Definitions
What command and switch gives a list of files and directories and pauses after each screen? DIR /P
What command displays only files that start with a d? DIR d*.*
What is the DATE switch for seeing the date but without being prompted to change the date? /T
What is the command to format a floppy disk on A: drive? FORMAT A:
What is the command to change to A: drive A:
How do you start a command prompt session in Windows XP? Start - Run - CMD
What command and switches gives a list of files and directories in a wide list format and pauses after each screen? DIR /W /P
How do you get a list of commands and a brief description of each command? HELP
What is the command to clear the screen? CLS
What is the DIR switch that shows hidden and read-only files DIR /AHR
What command and switch gives a list of files and directories in a wide list format? DIR /W
What is the switch for the time command if you want to see the time but not be prompted to enter a new time? /T
If you are in the root of c: drive and you want a list of files and directories on a: drive, what command do you type? DIR A:
What is the command to get a list of commands and a short explanation of what they do? HELP
What is the symbol for redirecting the output away from the screen to another location such as a file greater than sign (>)
What DIR switch displays the output in lowercase? DIR /L
What command displays the disk volume label? VOL
What DIR switch shows only directories? DIR /AD or DIR /A:D
What is the command to make a copy of a disk in A: drive and make the copy also on A: drive? DISKCOPY A: A:
What DIR switches displays hidden files by newest dates first? DIR /AH /O-D
What is the command to see or update the time? TIME
What command displays only files that end with a txt extension, start with ron and disregards the next single character? DIR ron?*.txt
What is the DIR switch that shows hidden files? DIR /AH or DIR /A:H
What are two ways to get help on the DIR command? HELP DIR or DIR /?
What is the command to create, change or delete a volume label? LABEL
If you are on the root of C: drive, what command do you use to find where format.com is located? dir format.com /s
What command displays only files that start with ron and end with an rtf extension? DIR ron*.rtf
What command displays only files with a txt extension? DIR *.txt
What command and switch displays files and directories including subdirectories? DIR /S
What DIR switch sorts the output by name? DIR /ON or DIR /O:N
How can you repeat the last command? Press the up arrow key
What does a single dot (.) represent? The current directory. The directory that your prompt says.
What is the command to make an exact copy of a floppy disk? DISKCOPY
What is the command for seeing or changing the date? DATE
What DIR switch sorts the output by oldest dates first? DIR /OD or DIR /O:D
What command displays only files that have a filename of ron but with any extension? DIR ron.*
Can the DISKCOPY command copy disks of different sizes? No
What error message do you get when you type DIIR? Unrecognizable command
How do you redirect the output of the DIR command into a file called readme.txt? DIR > README.TXT
What is the output of the following command: DIR C:\ > README.TXT The output of the DIR command on the root of C: drive goes into a file called readme.txt
What command displays only files with a doc extension? DIR *.doc
What is the command to see what version of Windows you have? VER
How do you get help on the format command? HELP FORMAT or FORMAT /?
What wildcard character is used to disregard only one character? The question mark (?)
What is the command to get a list of files and directories? DIR
What is the difference between DIR ron?.txt andDIR ron?*.txt DIR ron?.txt shows files that have a name of 4 characters, the first 3 are ron, and all end with txtDIR ron?*.txt shows files that start with ron and could have many characters prior to the txt extension
If you are on A: drive and you want to change to C:\WINDOWS with one command, what command do you type? CD /D C:\WINDOWS
What is the command to perform a quick format on a floppy disk on A: drive? FORMAT A: /Q
What wildcard character is used to disregard 0 or more characters? The asterisk (*)
What DIR switch sorts the output by name in reverse order? DIR /O-N or DIR /O:-N
What is the command to change to C: drive C:
How do you change the label of a floppy disk on a: drive to say ron without formatting the disk? LABEL A:RON
What DIR switch sorts the output by the newest dates first? DIR /O-D or DIR /O:-D
What is the command to get a list of all of the files on c: drive and put the output into a file called allfiles.txt? DIR c:\ /s > allfiles.txtdir c:\ lists files on the root of c/s switch goes into the subfolders> allfiles.txt sends the output here
What do two dots (..) represent? The parent of your current directory
What command formats a floppy disk on a: drive and gives it a volume label of ron? FORMAT A: /V:RON