![]() |
VOOZH | about |
We need tools to interact with the operating system of the computer. This is where Graphical User Interface and Command Prompts come into play. Graphical User Interface allows users to interact with the Operating System for simple tasks. Command Prompts are used for complicated tasks like batch processing, automation, etc.
A Command Prompt is basically a Command Line Interface. It is an application in which the user enters commands and the operations are executed accordingly. The Command Prompt is an integral part of the Windows Operating System. Also known as the Windows Command Processor, it is a file with the extension .exe.
With the development of the Operating System in the 1960s and 1970s, Bourne Shell became popular. Then Microsoft introduced MS-DOS, which used Command.com to interact with the operating system. At that time GUI was not introduced. Later in the 1980s, Windows introduced Windows Command Processor or the command shell. The command shell was further enhanced with the integration of the .NET framework.
To access the command prompt there are two ways:
Several commands are used in the command prompt. Let us have a look at each of them :
Command Name | Use |
|---|---|
cd | Switch to the directory or path in which you want to perform task |
dir | See the list of files and folders in the current working directory |
mkdir | Make a new directory |
rmdir | Used to delete or remove a directory |
del | Used to delete one or more files |
move | Move a particular file from the present location to another location |
copy | Copy files from the present location to another location |
systeminfo | Get detailed information about our system |
tasklist | Used to get details of running processes or tasks |
ping | Connect to another IP address |
echo | Used to display messages in the interface |
ipconfig | Display current TCP/IP network configuration values |
help | Get information about any particular command |
exit | Used to exit the command shell |
Some uses of the Command Prompt are as follows: