1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Using CMD.EXE to remove/format deleted files so they cannot be recovered

Discussion in 'Windows XP' started by mattvot, Jul 2, 2007.

Thread Status:
Not open for further replies.
Advertisement
  1. mattvot

    mattvot Thread Starter

    Joined:
    Apr 3, 2007
    Messages:
    63
    I remember some while back i used a command in cmd.exe that formats/erases deleted files, but then my computer broke (not related) and i got a new one 6 months later, but i forgot the command, does anyone happen to know it, hardly anybody does, I seem to think it is like 'c /w:d:\' or something like that, please help.

    This is true and it does work, i've just forgot it
     
  2. WhitPhil

    WhitPhil Gone but never forgotten Trusted Advisor

    Joined:
    Oct 4, 2000
    Messages:
    8,684
    AFAIK there is no native "dos" command that "wipes" files such that they can't be undeleted.
     
  3. tony007

    tony007 Banned

    Joined:
    Jun 17, 2005
    Messages:
    1,343
  4. Lance1

    Lance1

    Joined:
    Aug 4, 2003
    Messages:
    5,615
  5. WhitPhil

    WhitPhil Gone but never forgotten Trusted Advisor

    Joined:
    Oct 4, 2000
    Messages:
    8,684
    Erase does the same function as the Del command and, all it does is delete a file(s).

    Any reputable undelete program can still restore it!
     
  6. mattvot

    mattvot Thread Starter

    Joined:
    Apr 3, 2007
    Messages:
    63
    there definatly is, when u run the command it used astrik's (*) to show the progress
     
  7. WhitPhil

    WhitPhil Gone but never forgotten Trusted Advisor

    Joined:
    Oct 4, 2000
    Messages:
    8,684
    Well, as I said, I don't believe that there is a native DOS command that does it.

    Why do you want to use a DOS command? There are many Windows apps that will perform that function.
     
  8. Lance1

    Lance1

    Joined:
    Aug 4, 2003
    Messages:
    5,615
    I think that Killbox will permanently destroy a file.
     
  9. WhitPhil

    WhitPhil Gone but never forgotten Trusted Advisor

    Joined:
    Oct 4, 2000
    Messages:
    8,684
    Killbox will get around issues when Windows can't natively delete a file (in use, etc), but at the end of the day (AFAIK) the file is "just" deleted and not "wiped" to stop subsequent UNdeletion.
     
  10. Frank4d

    Frank4d Retired Trusted Advisor

    Joined:
    Sep 10, 2006
    Messages:
    9,126
  11. ozrom1e

    ozrom1e

    Joined:
    May 15, 2006
    Messages:
    11,849
    Here is a list of all of the MS-DOS commands and I do not think what you are looking for is in here, I think from what you are saying about the asterisks it must be a program of some sort.

    http://www.computerhope.com/overview.htm
     
  12. WhitPhil

    WhitPhil Gone but never forgotten Trusted Advisor

    Joined:
    Oct 4, 2000
    Messages:
    8,684
  13. managed

    managed Trusted Advisor Spam Fighter

    Joined:
    May 24, 2003
    Messages:
    12,998
    First Name:
    Allan
    The asterisks were probably 'wildcard' characters, so the command could delete files without naming them individually.

    DEL d:\*.* will delete all the files in the root of D drive/partition,
    DEL /S d:\*.* will delete all files in root and sub-folders too.

    Please don't try this at home :eek:
     
  14. ozrom1e

    ozrom1e

    Joined:
    May 15, 2006
    Messages:
    11,849
    But it was said to show the progress with the asterisks that should look like this as it goes thru ***************.

    It isnot the command switch shown.

    I still think it is a program.
     
  15. Frank4d

    Frank4d Retired Trusted Advisor

    Joined:
    Sep 10, 2006
    Messages:
    9,126
    As far as I know there is no MsDOS command that will remove hard drive data and make it unrecoverable. That includes "del", "deltree", "erase", "format", "fdisk" and any others I can think of..
     
  16. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/590935

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice