Shared Flashcard Set

Details

Command Prompt
Chapters 4 through 6
50
Computer Science
Professional
08/23/2007

Additional Computer Science Flashcards

 


 

Cards

Term
What command displays a list of files and subdirectories in a directory?
Definition
DIR
Term
What command displays a list of files and subdirectories that are hidden?
Definition
DIR /A:H
Term
What command displays a list of files and subdirectories that are read-only?
Definition
DIR /A:R
Term
What command displays a list of files and subdirectories and sorts them by name?
Definition
DIR /O:N
Term
What command displays a list of files and subdirectories and pauses after each screenful of information?
Definition
DIR /P
Term
What command displays the name of or changes the current directory?
Definition
CD
Term
What is the difference between CD DOS and CD \DOS?
Definition
CD DOS changes into the DOS folder in your current folder? CD \DOS changes into the DOS folder under the root
Term
What is the difference between CD DOS and CD ..\DOS?
Definition
CD DOS changes into the DOS folder in your current folder. CD ..\DOS changes into the DOS folder located under your parent's folder
Term
What command creates a directory?
Definition
MD or MKDIR
Term
What is the difference between MD RON and MD \RON?
Definition
MD RON makes a folder under your current folder. MD \RON makes a folder called RON under the root
Term
What command formats a disk for use with Windows?
Definition
FORMAT
Term
What is the command to format A: drive?
Definition
FORMAT A:
Term
What is the command to quick format A: drive?
Definition
FORMAT A: /Q
Term
What is the command to format A: drive unconditionally? (that is to ignore error messages and continue the format)
Definition
FORMAT A: /U
Term
What is the command to format A: drive and make it bootable?
Definition
FORMAT A: /S (works only with Windows 9x)
Term
What command changes to the root directory?
Definition
CD \
Term
What command displays the current directory?
Definition
CD (all by itself)
Term
What command changes the Windows command prompt?
Definition
PROMPT
Term
What is the command to change the prompt to only display the date?
Definition
PROMPT $D
Term
What is the command to change the prompt to the date followed by a space, followed by the time and followed by another space?
Definition
PROMPT $D $S $T $S
Term
What is the command to change the prompt back to the default settings?
Definition
PROMPT (by itself)
Term
What command moves one or more files from one directory to another directory?
Definition
MOVE
Term
What is the command to move the file C:\RON\TEMP.BAT to the root of A: drive and to suppress any messages?
Definition
MOVE C:\RON\TEMP.BAT A:\ /Y
Term
What command removes a directory?
Definition
RD or RMDIR
Term
What is the command to remove the folder C:\RON and all subfolders inside it and to suppress any messages?
Definition
RD C:\RON /S /Q
Term
What command displays or sets a search path for executable files?
Definition
PATH
Term
What is the command to display the current path?
Definition
PATH (by itself)
Term
What is the command to add C:\BATCH to the end of the current path?
Definition
PATH %PATH%;C:\BATCH
Term
What is the command to add C:\BATCH to the beginning of the current path?
Definition
PATH C:\BATCH;%PATH%
Term
What command copies one or more files to another location?
Definition
COPY
Term
What is the command to copy the file F:\TEST.TXT to A:\ and verifies that the new file is written correctly?
Definition
COPY F:\TEST.TXT A:\ /V
Term
What command displays the contents of a text file?
Definition
TYPE
Term
What is the command to display the text of the file G:\DOS\TEMP\A.BAT?
Definition
TYPE G:\DOS\TEMP\A.BAT
Term
What command change to F: drive?
Definition
F:
Term
What command displays a list of files and subdirectories on the root of your current drive?
Definition
DIR \
Term
What command displays a list of files and subdirectories in your parent's directory?
Definition
DIR ..
Term
What command displays a list of files and subdirectories in the root of A: drive?
Definition
DIR A:\
Term
What command displays a list of files and subdirectories in the folder called DOS on A: drive?
Definition
DIR A:\DOS
Term
What command deletes one or more files?
Definition
DEL or ERASE
Term
What is the command to delete the file C:\README.TXT and prompts for confirmation?
Definition
DEL C:\README.TXT /P
Term
What is the command to delete the read-only file called D:\INFO.DOC?
Definition
DEL D:\INFO.DOC /F
Term
What is the command to delete all of the files in C:\WINDOSBK including the files in the subdirectories, but does not delete the directories themselves?
Definition
DEL C:\WINDOSBK\*.* /S
Term
What is the command to delete all of the files with an extension of .TMP in the current directory?
Definition
DEL *.TMP
Term
What is the command to delete all of the files in the parent directory?
Definition
DEL ..\*.*
Term
What is the command to delete all of the files in the root directory?
Definition
DEL \*.*
Term
What command renames a file or files?
Definition
REN or RENAME
Term
What command renames the file called NOW.TXT to NOW.BAK in the current folder?
Definition
REN NOW.TXT NOW.BAK
Term
What command moves one or more files from one directory to another directory?
Definition
MOVE
Term
What command moves all files with a .MP3 extension to the parent directory?
Definition
MOVE *.MP3 ..
Term
What command moves all files with a .MP3 extension to a subfolder called MUSIC in your current folder?
Definition
MOVE *.MP3 MUSIC
Supporting users have an ad free experience!