eHow launches Android app: Get the best of eHow on the go.

How To

How to Delete a Duplicate File in DOS

Contributor
By Jack Gorman
eHow Contributing Writer
(0 Ratings)

So you want to delete a duplicate file in DOS. "DOS," or "Disc Operating System," is the operating system that pre-dates Windows on PCs, and is still available with all Microsoft Windows operating systems, up to and including Windows 7. Many programs still run in DOS, and some computer professionals use DOS for programming and other tasks.

Difficulty: Moderately Easy
Instructions

Things You'll Need:

  • Computer with Microsoft operating system
  1. Step 1

    If you are in Windows, open a DOS window, or command prompt. Click on the Start button, then run. Type "cmd" into the box and click OK.

  2. Step 2

    Change to the directory or folder in which you wish to delete a file. To do this, type cd\ and the name of the directory/folder. If it is a folder within a folder, for example the All Users folder within Documents and Settings, type the following: "cd\Documents and Settings\All Users".

  3. Step 3

    Delete the file. Type "del\filename.ext". Make sure you type the exact file name, including its extension (the letters that come after the period).

  4. Step 4

    To delete all the files in a folder, type "del\foldername". It will ask you if you are sure; type "y" for yes.

  5. Step 5

    To remove an entire folder, type "rd\foldername".

Post a Comment

Post a Comment
  • Have you done this? Click here to let us know.
I Did This

Related Ads

Computers
Alexia Petrakos,

Meet Alexia Petrakos eHow's Computers Expert.

Get Free Computers Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

eHow Computers
eHow_eHow Technology and Electronics