Command Prompt (CMD) Flashcards
Keyboard Functions: Ctrl+C
Aborts a command that is in progress.
Example: Press the ctrl and C keys at the same time.
dir
Opens up a list of general directories.
Example: dir
dir /S
Opens all subdirectories (folders) within directories.
Example: dir /S
doskey/history
Shows a list of commands
Example: doskey/history
cd
Change Directory
This command allows you to go forward or back a directory.
Example 1: cd
Example 2: cd..
dir /S (word within file name)
Finds files with word within the name of the file itself.
Example: dir /S Important
This will find any files with (Important) in its name.
ipconfig
Shows IP and network information
What is Command Prompt (CMD)
A command prompt is the input field in a text-based user interface screen for an operating system or program. It consists of a brief text string followed by a blinking cursor, which is where the user types commands.
type (directory name here)
This command can be used to display a directories content.
Example: type documents
This will show the content within the documents directory.
help
Displays a list of commands
Example: help
Attrib +h +s +r “document name”
This command will hide a document.
Example: Attrib +h +s +r IMG_123
Once hidden use Attrib -h -s -r IMG_123
to reveal the document.
Tip: Use the cd command to find the correct folder.
Keyboard Functions: Up/Down Keys
This keyboard shortcut also you to shuffle through previous commands made within CMD
cd “directory name”
Used to travel into directories to execute task within the directory.
Example: cd documents
“documents” being the directory name will set the command insert line to end with \documents> making the next command within the selected directory.
driverquery
Shows a list of all drivers installed on computer.
Example: driverquery
Keyboard Functions: Tab Key
Pressing this key allows you to shuffle through auto commands and options.
Example: just press the command key!