Some commonly used DOS commands in CMD
This article summarizes some basic DOS commands in CMD. If you frequently work with or use the Windows Command Prompt, then this is definitely an article you should check out.
Before graphical user interfaces were developed, operating a Windows computer was almost entirely dependent on DOS commands. Later, as users became increasingly reliant on keyboard and mouse operations, few paid as much attention to DOS commands as they did before.
However, if you frequently work with Windows' Command Prompt, you should be familiar with some basic DOS commands in CMD that we share below.
A compilation of some basic DOS commands in cmd.
Execute the copy command.
This is one of the commands that is used quite frequently. For example, if you want to copy the file D:taimienphi.zip to D:Books, you would do the following.
| COPY "D:taimienphi.zip" "D:Books" |
Execute the delete command.
Suppose you want to delete the file named taimienphi.zip on drive D, you would use the following syntax.
| DEL "D:taimienphi.zip" |
Commands related to directories
To delete a folder, use the following syntax.
| RD "D:taimienphi" (With the folder named taimienphi) |
To create a directory, use the following syntax.
| MD "D:taimienphi" (This will create a folder named taimienphi in drive D) |
View your computer's IP address.
To view your computer's IP address, use the following syntax.
| ipconfig/all |
Close running applications.
If the application freezes and you can't close it, use the following command.
| taskkill /f /im iexplorer.exe (This command will close Internet Explorer) |
So, TipsMake has introduced you to some basic DOS commands in CMD. In fact, you can perform all of these functions directly on the graphical interface. Therefore, these commands are mostly only used in special cases. Additionally, we also shared an article on 6 ways to start Command Prompt on Windows 7 ; if you are interested, please click on the link above to read it.