Command prompt is a command line interface in Windows that allows you to execute commands using text input.
To open the command prompt, you can do the following
- Click on the Start menu and search for "command prompt"
- Select the "Command Prompt" app from the search results
- Right-click on the Start menu and select "Command Prompt" from the list of options
- Press the Windows key + R on your keyboard, type "cmd" into the Run dialog box, and press Enter
Once you open the command prompt, you can start using commands. Some commands that you might find useful are listed below.
- "dir" - Lists the files and directories in the current directory
- "cd" - Change the current directory
- "mkdir" - Create a new directory
- "copy" - Copies a file
- "del" - Deletes a file
- "ren" - Rename files and directories
- dir - Lists the files & folders contained in the current working directory
![Command Prompt Basic Commands]()
- cd - Change Directory allows you to change and access the directory
![Command Prompt Basic Commands]()
- mkdir - Make a Directory and Creates a new folder in the working directory
![Command Prompt Basic Commands]()
After directory/folder created "VishalIMP"
![Command Prompt Basic Commands]()
- ren - Rename files and folders
![Command Prompt Basic Commands]()
After directory/folder renamed "VishalIMP" to "vishal_imp"
![Command Prompt Basic Commands]()
- copy - Copies file to destination
![Command Prompt Basic Commands]()
Before file "Testing.txt" copy
![Command Prompt Basic Commands]()
After the file "Testing.txt" copied from "Vishal" to "vishal_imp"
![Command Prompt Basic Commands]()
- del - Deletes files.
![Command Prompt Basic Commands]()
After the file "Testing.txt" was deleted from "vishal_imp"
![Command Prompt Basic Commands]()