- Computers & Software»
- Operating Systems
Windows DOS Commands You Must Know
Useful Windows DOS Commands for a Computer User
Using Windows DOS Commands we can easily perform our basic operations. This is the fastest way of doing task in Windows. In the following article I am going to describe how to do execute these operations like create folders, rename and delete files, launch application using this windows tool.
PING – Check your internet connection
Ping command followed by the IP address of a PC or a server can tell you the status of a network connection. By this utility we can easily troubleshoot problems in a network. To use this command you have to type the following command in a command prompt. Here your IP address may be different than the following.
DIR – To get the list of a directory
Without options it gives you list of all files in the current directory. If you use it with /P, It will give you page by page list view.
MKDIR – Create a new folder
You can make a new folder using this command. Let’s create a directory called ahad. To do this, we will type MKDIR ahad.
To check this folder, type dir to get the list of all files.
IPCONFIG – Give you windows IP configuration
If you need to know your computer IP address. Just type ipconfig from command prompt and it will give you your computer IP address with other configuration like subnet mask, default gateway, other network adapter status.
CLS – Clear your screen
To clear all text from your screen we use this command.
FIND – Search text of your file
This is the most effective search command in windows. It will not only give you file or folder name but also display line of a specific text of a file.
REN – Rename files or folders
To rename any files or folders we use this command. To rename any folder type ren FolderName NewName . To rename any file we have to type ren Filename.Extension NewFileName.Extension.
Do you think using DOS commands can save your time ?
For example, to rename the folder we created before just type ren ahad blogger. It will change the folder name to blogger.
CHKDSK – Check disk for errors
To maintain your local disk and fix the errors we use this command. It will display file specification and logical structure of a disk.
FORMAT – Format a drive
If you want to install a new operating system or if you can’t clean your flash drive using antivirus, then you can format your local drive or flash drive. Just type format drive:
By now you must have some learning regarding DOS commands. You can practice if you want to know it better. Looking forward for your feedback.