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.

Solved: Securely deleting files in DOS

Discussion in 'DOS/Other' started by foler59, Apr 1, 2008.

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

    foler59 Thread Starter

    Joined:
    Jan 8, 2008
    Messages:
    45
    What is the command in DOS to write all zero's or random data when deleting a file (like wiping it out completely)? Or even to write small fragments of random data on certain parts of it like in the beggining middle or end?
    The point is to make the file unrecoverable or at least hard to recover completely.
     
  2. ChuckE

    ChuckE

    Joined:
    Aug 30, 2004
    Messages:
    2,311
    There is no regular DOS command to do that, but there are plenty of utilities, most of them free, that will do that.

    By the way, you don't want to write just "small fragments of random data on certain parts of it" because if you write fewer than the same number of bytes (actually sectors - but the same point) then that will leave part of the file still unwritten over. Thus, possible exposure to whoever it is you are trying hide expunged data from.

    Do a Google search for "file wiper dos freeware."
     
  3. foler59

    foler59 Thread Starter

    Joined:
    Jan 8, 2008
    Messages:
    45
    If I write random files over the deleted ones then I guess it's just as safe to believe that the deleted files will no longer be recoverable, right?
     
  4. ChuckE

    ChuckE

    Joined:
    Aug 30, 2004
    Messages:
    2,311
    Perhaps. Depending upon the size of the file you write.

    I have heard that there are some experts that can recover some files after they have been written over, and even if the hard drive has been reformatted. But I never worry that much about it - nor do I worry about those black helicopters. ;)
     
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!

Thread Status:
Not open for further replies.

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

  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