Shared Flashcard Set

Details

Command Prompt
Chapters 1 through 3
56
Computer Science
Professional
08/06/2007

Additional Computer Science Flashcards

 


 

Cards

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