- A command prompt is used in a text-based or "command-line" interface, such as a Unix terminal or a DOS shell.
- It is a symbol or series of characters at the beginning of a line that indicates the system is ready to receive input.
- It other words, it prompts the user for a command (hence the name).
- Command Prompt, also known as cmd.exe or cmd (after its executable file name), is the command-line interpreter on Windows NT, Windows CE, OS/2 and eComStation operating systems.
- The command line is the line on which commands are typed in a console or terminal window. A command is an instruction to tell a computer to do something, e.g., to execute a program.
List of Command Prompt Commands
1 ASSOC
Most files in Windows are associated with a specific program that is assigned to open the file by default. At times, remembering these associations can become confusing.
You can remind yourself by entering the command “assoc” to display a full list of file extensions and the programs they’re connected with.
2 Cipher
The cipher command, however, can be used to wipe a directory by writing random data to it.
To wipe your C drive, for example, you’d use the command “cipher /w:c”, which will wipe free space on the drive.
The command does not overwrite undeleted data, so you will not wipe out files you need by running this command.
3 Driverquery
Drivers remain among the most important software installed on a PC.
Improperly configured or missing drivers can cause all sorts of trouble, so its good to have access to a list of what’s on your PC.
That’s exactly what the “driverquery” command does.
You can extend it to “driverquery -v” to obtain more information including the directory in which the driver is installed.
4 Ipconfig
This command relays the IP address that your computer is currently using.
Similary..
- Netstat
- Ping
- Pathping
- Powercfg
- Shutdown
- System File Checker
- Tasklist