Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
40 Cards in this Set
- Front
- Back
- 3rd side (hint)
ATTRIB
|
Display or modify the attributes of a file
Read-only, hidden, system, archive |
Common Switches
+ = on, - = off (+h +r +s +a) no switch=display only Notes/Examples ATTRIB +H TEST.DOC |
|
CD or CHDIR
|
Display the current directory; change to another directory; to change drives, type in A:, C:, etc.
|
Common Switches
\ = go to root dir ; .. = go back one dir; CD ..\..\ = up 2 dirs Notes/Examples CD Users |
|
CHKDSK
|
Checks a disk for errors and fixes them (if possible): Note this command replaced SCANDISK
|
Common Switches
/F = fixes errors /R = fixes sectors Notes/Examples CHKDSK /F C: |
|
CLS
|
Clears the Screen
|
Common Switches
NoneNotes/Examples CLS |
|
COLOR
|
Changes the color of the command line screen; exit the screen or type color to restore default
|
Common Switches
0 – 9, A – F; specify two hex attributes (color not in 9x) Notes/Examples Color CF - red screen, white letters Color FO White COLOR CF (red screen, white letters) |
|
CONVERT
|
Converts a FAT volume to NTFS without losing data
|
Common Switches
/FS:NTFS Notes/Examples CONVERT E: /FS:NTFS |
|
COPY
|
Copy files from one location to another; first name is “source”, second name is “destination”; use XCOPY for directories and their contents!
|
Common Switches
no common switches Notes/Examples COPY TEST.doc REVIEW.txt Good for files or empty folders |
|
DATE
|
Displays the date; use /T so that it does not prompt you for a new date!
|
Common Switches
/T Notes/Examples DATE /T |
|
DEL or ERASE
|
Deletes one or more files; does not delete directories; be careful when using wildcard! NOTE: It is not spelled “DELETE” in the command line.
|
Common Switches
/p = asks for confirmation Notes/Examples DEL GARBAGE.DOC |
|
DIR
|
Displays a list of all files and subdirectories in a directory ; use /S to search many directories
|
Common Switches
/p = pause; /x = alias names; /a = all files (including hidden); /s = list all files in all subdirectories (search switch) /o = puts things in order Notes/Examples dir /s /a /p |
|
DISKCOPY
|
OLD - Duplicate one floppy disk onto another floppy
|
Common Switches
no common switches Notes/Examples Diskcopy A: A: |
|
ECHO
|
Displays responses on screen, turns echo on or off
|
Common Switches
ECHO ON or ECHO OFF Notes/Examples ECHO I am confused! |
|
EXIT
|
Returns to Windows from the DOS prompt
|
Common Switches
None Notes/Examples EXIT |
|
FC
|
Compares two files or sets of files and displays the differences between them
|
Common Switches
None Notes/Examples EXIT |
|
FORMAT
|
Prepares a disk by “wiping it clean”:
|
Common Switches
/Q = quick format Notes/Examples FORMAT /Q R: |
|
HELP
|
To get information on SOME DOS commands; better way is to use /? after the command
|
Common Switches
None Notes/Examples Help, ex. Help COLOR |
|
LABEL
|
Add, modify, delete the volume label on a disk
|
Common Switches
None Notes/Examples LABEL A: MyDisk |
|
MD, or MKDIR
|
Creates a new directory on your disk
|
Common Switches
None Notes/Examples MD CRAZYDIR |
|
MOVE
|
Move a file or directory to a new location
|
Common Switches
None Notes/Examples MOVE STUFF NAVIGATE |
|
PAUSE
|
Pauses (especially in a batch program)
|
Common Switches
Pause Notes/Examples PAUSE |
|
>
|
Redirect makes a file for the output of a command
|
Common Switches
Needs a file name (file.txt) Notes/Examples DIR > newfile.txt |
|
REN, RENAME
|
Renames a file
|
Common Switches
Works for directories and files Notes/Examples REN dirlist.txt treelist.txt |
|
SET
|
See information on the system, or change settings
|
Common Switches
None Notes/Examples None |
|
SFC
|
System File Checker scans all the windows OS system files
|
Common Switches
None Notes/Examples SFC (must be an administrator) |
|
TIME
|
Displays or sets the current time
|
Common Switches
/T = display, don’t reset time Notes/Examples TIME /T |
|
TREE
|
Displays directory/file names in a branched diagram
|
Common Switches
/F for file names, /A in ASCII Notes/Examples TREE /F /A > dirlist.txt |
|
TYPE or MORE
|
Displays the contents of a text file on-screen
|
Common Switches
more (one page at a time) Notes/Examples TYPE C:Boot.ini |MORE |
|
VER
|
Displays the version of DOS you are working with
|
Common Switches
None Notes/Examples None |
|
VOL
|
Displays the volume label and serial number of disk
|
Common Switches
None Notes/Examples VOL C: |
|
XCOPY
|
Better than Copy, especially for multiple directories (such as copying a CD) and for hidden files
|
Common Switches
/e = copy dir. even if empty; /s = copy dir. except empty ones Notes/Examples XCOPY /E /S /H doslab E:\ |
|
* Wildcard
|
Wildcard for any number of characters; ? = Wildcard for one character only (can use more than one ? in a command)
|
Common Switches
None Notes/Examples * |
|
Ctrl C
|
Stops the current command (good to use if the computer “hangs”)
|
None
|
|
F3
|
The primary use for F3 is to terminate other commands.
|
None
|
|
F7
|
to see a window of commands you have typed while in command line
|
Notes
Use esc to exit F7 mode Examples default buffer size in XP is 50. |
|
| MORE
|
to see the text one screen at a time (| is the “pipe”{shift of backspace}); use with DIR, MEM, TYPE, and HELP, etc.
|
Common Switches
none Notes/Examples | |
|
The Recovery Console
|
(Windows 2000 and XP) is not true DOS, but it is a type of command line interface; available from the CD.
|
none
|
|
The characters \ / : * ? “ < > | (pipe) __________ used in a Windows file name (GUI and CLI).
|
The characters \ / : * ? “ < > | (pipe) cannot be used in a Windows file name (GUI and CLI).
|
None
|
|
Characteristics of a alias
|
The alias of a file shows the long file names in UPPERCASE and truncated: the first six characters, then “~” (tilde), then a number.
|
For example:
"This Is My Document.doc" is displayed as "THISIS~1.DOC". |
|
cd ..
|
moves up one folder
|
none
|
|
RD, or RMDIR
|
Removes (that is, deletes) a directory.
|
/s : Removes the specified directory and all subdirectories including any files. Use /s to remove a tree.
/q : Runs rmdir in quiet mode. Deletes directories without confirmation. /? : Displays help at the command prompt. |