Skip to main content

MS DOS Top 10 commands

ms dos commands

Today I am listing top 10 MS-DOS commands that are used most frequently when you get engaged with the command line(Dos Prompt). Here is the list and their functionalities described in short.

1) CD:
It is used to change directory @ command prompt type "CD <DIRECTORYNAME>" and press enter, it will takes you to that directory.You can use one or more subdirectory names separated by back slash"\".
e.g To change to another path, Type the full path with slashes like CD\WINDOWS\SYSTEM

2) DIR: It displays files and folders in the current directory(directory is the term used by DOS for what windows calls a folder). Folders are indicated in the list by <DIR> and files are usually listed by names.
  • DIR /P : displays the contents a page at a time,i.e as many as will fit in your command line window. Press any key to display the next page.
  • DIR /W : Displays the files/folders in multiple rows.This view gives less information per file.
  • DIR*.JPG: Displays all files with the extension JPG in the current directory and all subdirectories.
  • DIR MY??.* Displays all files beginning with MY,exactly 4 characters long,and with any extension.
  • DIR/S : Lists the contents of all subdirectories.
  • DIR/AH Displays all hidden files.
3) Copy: It is used to copy one or more files to another location on hard disk.
                                          OR
                in simple we can say that it is used to make duplicate file.

4) DEL or Erase: Delete one or more files in the current directory. DEL is not used to delete directories. Use RD to remove a directory.
e.g DEL<SETUP.EXE> deletes setup.exe.

5) Edit: Edit allows a user to view, create, or modify their files.
Runs DOS EDIT(a simple text editor). Useful for editing batch files and viewing logs.
e.g EDIT<NEWFILE.TXT> creates a new file called newfile.txt and opens it up for you to edit.

6) prompt: Changes the appearance of DOS prompt.

7) ren (rename): It is used to rename the directory of file. You must use the full file name including the suffix.
e.g RENAME<OLDNAME.EXE><NEWNAME.EXE>

8) ver: It gives information about operating system version.

9) cls: It is used to clear the screen.

10) format: It is used to erase information off of a fixed drive.
Although the information appears to be erased it is still possible for software recovery programs to recover information from a formatted drive.

Popular posts from this blog

End of Engineering and Begining of Web Raga

Finally my exams are over and here is the end of College Days. I don't know whether I will go for further studies or not, but surely I will try to do things out of the box.       We have started our work at e-Lightening Technologies and clients are just flowing to get their web presence. Definitely condition has been completely changed, two years back we used to convince each and every person coming to us why they should have a website for their business. But today people have agreed with this fact that if they want to be ahead of their competitors, they must have their online presence.  As far as this website is concerned, I have many plans. Soon we are going to hire 3 more Tech Bloggers to write for us. We are also going to have a seperate office for this website. We are now open for Guest Blogging. If you want to write for this website, please contact us using the contact form available on contact us page . From 14th June 2012, we will be p...

Recovering Deleted Files, Pictures & Videos

  So many times we accidently delete some important files, pictures or videos. Sometimes we loose files because of unexpected system failure  ( ultimately causing system format). We can get our deleted files back using Recovery Softwares/Utilities.  Even though a file was deleted there is a good chance that contents of the file are still around.  When a file is deleted the contents of the file are not removed. Only a pointer to the file in the file system table is deleted.   It is very important to immediately stop writing to the storage device that previously contained your files/pictures so that the old file contents are not overwritten.  For example, don’t take any more pictures with your digital camera because new pictures will overwrite the deleted files. HOW TO RECOVER DELETED FILES???? Step1: You will need to use a utility to recover your lost files. I like to use a free ut...

Google's this Doodle is just Awwwsome!!!!

In celebration of Robert Moog’s 78th birthday, Google has created an epic Google Doodle to honor founder of Moog Music , pioneer of electronic music , best known as the inventor of the Moog synthesizer .The Doodle presents an interactive Moog synthesizer . Users can adjust dials on the synthesizer, turn switches on and off and play sounds on the keyboard. They can also record and playback their creations. Don't miss playing this with your keyboard!!!! Google is also showing a regular link of Google+ to share whatever music you have created.