Professional Documents
Culture Documents
DIT/D/2015/0049
The meaning of command prompt
A command prompt
Command Prompt is a feature of Windows that provides an entry point for typing
MS-DOS (Microsoft Disk Operating System) commands and other computer commands.
The most important thing to know is that by typing commands, you can perform tasks on
your computer without using the Windows graphical interface. Command Prompt is
typically only used by advanced users. The following is the example image of cmd
prompts of windows.
C:\users\LEONARD>
The meaning that
I.
C :\> is the drive C root directory
II.
C :\>\users>is the drive c root directory users
III.
C :\>\users\LEONARD\> is the drive c root directory users and sub-directory
LEONARD
A console
Is an all-text display mode that occupies the entire display monitor screen
ZAHORORO,Leonard G
DIT/D/2015/0049
A terminal window
Is a text-only window that emulates a console and which can be opened on a GUI
(graphical user interface) screen.
A shell
Is a program that not only provides the command line interface for Unix-like operating
system but also executes or runs commands that are typed into it.
Is the line on which commands are typed in a console or terminal window. Also a
command is an instruction to tell a computer to do something, for example to execute a
program.
To inform the user that the system is ready for the next command, data element or other
input
To help the user plan and execute subsequent operations
ZAHORORO,Leonard G
DIT/D/2015/0049
WINDOWS COMMAND LINE PROMPT
Shutdown window immediately:
C :\> shutdown /s /t 0
C :\> shutdown /r /t 0
C :\> shutdown /a
C :\>\users\LEONARD\> lusrmgr.msc
Services control
C :\>\users\LEONARD\> services.msc
Task manager
C:\users\LEONARD>taskmgr.exe
Control panel
C:\users\LEONARD>control
Event viewer
C:\users\LEONARD>eventvwr.msc
C:\users\LEONARD>cd\
Results
C :\>
ZAHORORO,Leonard G
DIT/D/2015/0049
Displays a list of files and subdirectories in a directory
C:\users\LEONARD>dir
Result
C:\users\LEONARD>ver
Results
Creates a directory.
C:\users\LEONARD>MD
Results
C:\users\LEONARD\zahoro>
C:\users\LEONARD>cls
ZAHORORO,Leonard G
DIT/D/2015/0049
To configure a system devices
C:\users\LEONARD>mode
Result
C:\users\LEONARD>time
Result