JCAC Mod 5 Windows Introductory CLI Commands
This flashcard set introduces Windows CLI prompt commands, including customizing the command prompt text, displaying the working directory, and showing the “>” symbol. These commands help personalize and organize the command-line interface for easier navigation.
prompt
prompt $P
prompt $G
specifies text for command prompt
Specifies working directory for command prompt
Specifies ‘>’ for command prompt
Key Terms
prompt
prompt $P
prompt $G
specifies text for command prompt
Specifies working directory for command prompt
Specifies ‘>’ for command prompt
dir
dir /T:
dir /A:
dir /S:
Displays a list of files and subdirectories in a directory
Controls which time field to display.
Displays files with a specified attribute
attrib
attrib +R
attrib -H
attrib +S
attrib -A
Displays or changes file attributes.
Turns on/off read-only attribute
Turns on/off hidden attribute
Turns on/off system attribute...
date
date /t
prompts for date change
displays date without prompting for change
time
time /t
displays time and prompts for change
displays time and does not prompt for change
ver
displays OS version
Related Flashcard Decks
Study Tips
- Press F to enter focus mode for distraction-free studying
- Review cards regularly to improve retention
- Try to recall the answer before flipping the card
- Share this deck with friends to study together
| Term | Definition |
|---|---|
prompt | specifies text for command prompt |
dir | Displays a list of files and subdirectories in a directory |
attrib attrib +R attrib -H attrib +S attrib -A | Displays or changes file attributes. Turns on/off read-only attribute Turns on/off hidden attribute Turns on/off system attribute Turns on/off archive attribute |
date date /t | prompts for date change |
time time /t | displays time and prompts for change |
ver | displays OS version |
title | sets the title for the CLI window |
exit | exits the CLI window |
mkdir (MaKe DIRectory) | Creates a directory |
rmdir (ReMoves DIRectory) | Removes a directory |
copy con filename.fileext. | creates a file to contain text written into the console. CTRL +Z and enter to save file as designated filename and filetype |
notepad | create and edit text files |
copy | Copies one or more files to another location. Can also name the copied file. |
move | Moves and renames files and directories. |
ren (REName) | Renames a file or directory |
type | Displays contents of a text file or files |
(pipe) | passes the output of one command to the input of another |
find | Searches for a text string in a text file or files |
del | deletes one or more files |
xcopy xcopy /e | Copies directory trees and files |
doskey doskey /history | Recalls Windows commands |
> command, not prompt! | Redirects standard command output to a file instead of displaying results on the screen. If the file does not exist, it is created. If the file does exist, it is overwritten. |
> > | Appends standard output to the end of another file. If the file does not exist, it is created. |
tree | Graphically displays the folder structure of a drive or path. |