MS DOS Computer Command

MS DOS Computer Command

DOS Command

MS DOS Computer Command Command means command. That is, By which the computer is ordered to work. It is called a command of two types. (1) Internal (2) External.

MS DOS Computer Command
MS DOS Computer Command

Internal Command

Those commands are called. Which is already in the computer? That is loaded with DOS. 

Like- copy con, md, dir, cls, copy, del, ver, vol, time, date, cd etc. MS DOS Computer Command

External command

Those commands are called, Which are later loaded into the computer?

Like-edit, chkdsk, scandisk, format, attrib, mode, more, tree, deltree etc.

Use and importance of commands


By this command, we can see the date present in the computer. And can also change.


By this command, we can see the time present in the computer. And can also change.

C: > VOL

By this command, we can see the serial number and label of computer computer.

C: > VER

With this command, you can see the version number of DOS.

C: > DIR

With this command, we can see the names of files and directories present in the computer.

C: > DIR / P

By this command, we can see the names of files and directories present in the computer  according to the page.  

Note: – This will happen when the directory and file names are more than one screen.

C: > DIR / W

By this command, names of directories and files can be viewed in width. But it will not show other than command names like byte date time etc.  

C: > DIR / P / W By

This command, Names of directories and files, can be viewed in width according to the page.

C: > DIR / S By

this command, we can see all the files and directories present in the computer.

Note – To stop this command, press Ctrl + C.

C: > CLS

can clear the screen by this command. 


This command, we can create a team to identify our name in the computer.


By this command you can create a file by any name. Karsar will appear as soon as we enter the command, now we can write anything. To protect this, let’s use F6 or Ctrl + z buttons. Now as soon as we enter, C Prompt will come.


can see the text of files created by this command.
Method – Enter the space by typing the command and then enter the name of the file you want to see. The file will open as soon as you enter it.


This command can copy any old file with another name.
Method – Enter the space by writing the command and then the name of the old file, then the space, then the name with which to copy. Copy will be ready as soon as you enter.


By this command, More than one old file can be copied to a new name in one place.
Method – Enter the space by typing the command and then enter the name of the old file, then the + sign, then the old file name, then the space, then the name of the new file. As soon as you enter, the copy of the two files will be generated with the new name.

Note- In this way, you want to submit the article of the old file by this sign (+). You can store it by putting a + sign in the middle of every name.

DOS Command Read More


This command, The file name can be changed. Like we replaced FLAH with ONLINE.
This command is actually used at that time. When a file or article of a file is deleted and you want to bring that file back. Then we use the rename command to do so. For example, if a file named inpage is deleted computer.inp, it will be backed up with the same name but its extension will be computer.inpB01. Now change this extension.

Reade more site

Way – as soon as ren computer.inpB01, computer.inp is entered, The backup file will be converted into the original file. Now we can open this file in that program. The program that contains this file. In this way, the Extention of any backup file can be changed to the original file. But it is necessary to replace the Extention of the backup file with the extension of the program that the file is. MS DOS Computer Command

Note – The computer automatically creates a backup file of each file with the same name. Which only has a different extension name. For this reason, you cannot open the backup file without changing it.


You can create a directory under this command under any new name.

C: > MD LAB can

also create a directory with a new name by this command.


Can enter the directory by this command.


can also enter directory by this command.

C: LAB> CD ..

This command can be exited from the directory one by one.


Can also be exited from the Directory by this command.


This command, several directories can be exited simultaneously.
Note- With this command, we can move to another directory as soon as we leave from any directory. like- (C: >) There are two directories on the C route. (1) LAB (2) SKY and more work is happening in Sky. But suddenly you need to go to LAB then write the command like this.  


Result-  C: LAB>
Both work will be done at the same time. The character has to be removed from the directory first. Then you have to go to another directory. And if there are multiple directories inside a directory. Like – LAB inside SKY and ONLINE inside LAB and we want to go inside ONLINE. Then the command will be typed as follows.

Can also do C: > CD SKY LAB ONLINE 
or the like.




Which is of work CD . This is the work of this command.


By this command, we need to keep two things in mind to delete any directory. (1) Directory being empty (2) Being out of the directory.


Work of RD is the same work of RMDIR.


This command, we can delete any file. 
Note – To delete multiple files, use this symbol (*). If different and the extension name is one. Then first (*) then dot (.) And then type the extension name.

Like –  C: > DEL * .TMP and if all the names are same and the extension name is different then put first name and then dot and then *. Eg –  C: > DEL LAB. * All files with this extension name will be deleted at the same time.


Can retrieve files deleted by it.


Through this, you can check the text of lobby file which is more than one screen. 
Note – You can also type a command like this.  


(i) Press this back to Shilesh Bhutto with the shift for the symbol lane.

C: > Find “God” LAB / n 

Can find out about any letter word in the text of the file created. Which line it is in. And what is the line number.

C: > Attrib + h LAB

Can hide directory and file name by this command. 
Note – Now when we run the DIR command, the file or directory we have named. File and directory names will be removed from the list.

C: > Attrib -h LAB With

This command, you can bring back the hidden directory or file. Now we will see when DIR command is present.

C: > Attrib + R LAB

Let us create a Read Only file by this command. That is now we cannot make any kind of change in this file, this spread gets locked.

C: > Attrib -R LAB

Can convert to Read Only file by this command. That is, you can end the lock.

C: > DIR / ON By

This command, the directory and file name can be viewed sequentially by the letter’s character. That is, the names that start with A can be seen first and then those of B in this way.

C: > DIR / ON

Can see directory and file names in reverse order by this command. That is, the names starting with Z will be shown first and then the ones up to this side.

C: > DIR / OE By 

This command, the extension name can be viewed sequentially from A side.

C: > DIR / OE 

Through this command, the extension name can be seen in reverse order A to Z.

C: > DIR / AD

Can see only the directory and file name by this command.

C: > DIR / OG

This will show the names of the directory first and then the names of the file.

C: > DIR / AH 

It will only show hidden directories and files.

C: > DIR / AR 

This will only show the Read Only file.

C: > DIR / OS 

This will only show the names of the files in a straight sequence according to the size. That means first the elder and then the smaller. This is the opposite of the command above. That means it will show in reverse order.

C: > DIR / OD 

This will show the names of the files in a straight order by date.

C: > DIR dir-name With 

This command, you can see the names of files and directories inside a particular directory.
Write the name of the directory instead of note-dir-name.

C: > DIR File-name

This is for viewing the names of a particular file.

C: > Sort 

Uses it to write articles temporarily. Like enter by pressing Ctrl + Z button, its copy will be shown by the order of the line. Although in writing, there is distance in line. But this file will not save.

C: > Sort> SKY 

This command is like Copy con. The difference is that the command will save the text in the name of the line that we have given. We can see this through Type Command.

C: > Sort >> SKY

Additional files can be added to any legacy file. Then from the Type Command, this article will also appear in the order of the line. But it will give different order to increase article and old article.

C: > Sort <SKY

This is similar to Type Command by which you can view the text of a file according to the order of the line.

C: > Xcopy LAB ONLINE 

Can create a copy of the file made by it under any name by the directory. On entering it it will ask us whether to create a directory or file with this new name. If file is to be created. Then pressing F and pressing the letter D will create a directory. This will only copy the file, not the directory.

C: > Xcopy LAB ONLINE / S 

With this command, you can copy the directory along with the file created inside the directory. That is, it is used to copy the entire directory. But if there is any empty directory, it will not copy it.

C: > Xcopy LAB ONLINE / P 

It will take information before copying the file that the file has to be copied. or not. If you have to, then press Y or N.


This command is used to lane one or more files or directories with any name from one place to another.
Note – As many files as you want. Put a (+) symbol in the middle of each file name. And finally put the name in which to put it.

 For example,  C: > Move Lab + Over + All + Mau + Online This will make all the files   in the directory named Online.  

C: > Deltree ONLINE

This command is used to delete those directories. In which there is a file or directory inside, such directory is called subdirectory.

C: > Print SKY

You can print any file through this command.  

Batch File C: > copy con LAB.bat

This is called a batch file. Through this, various commands can be collected in one place. Use it at that place. Where we have to run the same type of commands every day. And we want that we do not need to write these commandos daily. To do this, create a batch file of these commands. Whose extension name is bat.

Method – C: > copy con LAB.bat  Time Date Dir ^ Z Enter after pressing Ctrl + Z. The batch file will be generated. Now to run it, just write the name of the file with which the batch file is created at C prompt. Results will be displayed as soon as you enter.  


This command is used while working in DOS. It is used to temporarily protect the memory of the computer. So that when we want to use those commands, We can get it through Arrow Key.  

C: > D: For any drive, use the symbol (:) for Jane. Like – A: B: C: D: etc.  

C: > Prompt LAB

Prompt is used to replace name, date, time, etc. If you type $ T instead of LAB, Prompt will change in time. And type $ D, the prompt will be changed to the date. Now again take the command like this to take C: > Prompt. C: > Prompt will execute as soon as prompt $ p $ g is entered.

Note – This sign ($) is called dollar.  

C: > Tree

If this command is loaded into the computer. So by this command, we can see the directory as a tree, not otherwise. And thus by writing C: > Tree / F Command one can see the name of the file along with the directory. 


WILD CARDs are of two types. (1) Star (*) (2) Questions Mark (?)
We use this symbol to replace those letters or words. Which we do not remember.
Note – A Question Mark (?) Is equal to a letter and a Star (*) is equal to a word.
The number of letters you will write by pressing the space in computer language is called a word.

C: > DIR Z *. *

This will show all files starting with Z. This way if we forgot the name and the extension name is So instead of the name, Star (*) then Dot (.) Then Extension Name. Like – C: > dir *. Now with the Extention, all the files will be visible.
And if the file name is if. But do not remember the extension name, so we will give the command. C: > dir lab.

* C: > DIR Z ?????. *

With this command, we can see the name of those files. We do not remember some of whose letters. Do not remember as many letters. Put those questions in place of Question Mar (?).
Note – will also show the name of all the files in which that letter will be found. That we have written. But it is necessary that the name should have as many letters as we have put Question Mark (?).

C: > SET

It detects the path of the computer to work, etc.

C: Mode co40

  It can change the size and shape of the screen.

C: > Mode co80C: > 

Mode mono  Note – The benefit of this command will be known by running the Edit command.

C: > Edit Lab 

The way Copy con creates a file, In the same way, you can create a file from edit.
The difference is that the name has to be given at the same time when creating the file from Copy con. But in the edit, we can give the name before or after saving. You can also make changes to the file created by copy con with Edit Command.

Way – as soon as you enter Edit, a new screen will open in front of us, which will have different menus. By which we can make a copy of our file. Can print Screen color is subject to change. You can find and replace any word in your article. MS DOS Computer Command

Get WordPress help, plugins, themes and tips at

Related posts

Leave a Comment