There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot browser bsod computer crash css dell desktop driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware help please hijackthis hjt hjt log install internet internet explorer itunes javascript keyboard laptop log malware monitor network networking openoffice outlook outlook 2003 outlook express password popups problem router seo slow sound sp3 spyware startup trojan usb video virtumonde virus vista vundo windows windows xp winxp wireless youtube
DOS/PDA/Other
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > DOS/PDA/Other >
Solved: Securely deleting files in DOS


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
orestis34's Avatar
Member with 45 posts.
 
Join Date: Jan 2008
Experience: Intermediate
01-Apr-2008, 10:37 AM #1
Solved: Securely deleting files in DOS
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.
ChuckE's Avatar
Senior Member with 1,839 posts.
 
Join Date: Aug 2004
Location: Redondo Beach, CA
Experience: Advanced
01-Apr-2008, 11:50 PM #2
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."
__________________
Never go to bed angry. Stay up and plot your revenge.
orestis34's Avatar
Member with 45 posts.
 
Join Date: Jan 2008
Experience: Intermediate
09-Apr-2008, 05:54 AM #3
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?
ChuckE's Avatar
Senior Member with 1,839 posts.
 
Join Date: Aug 2004
Location: Redondo Beach, CA
Experience: Advanced
09-Apr-2008, 02:07 PM #4
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.
__________________
Never go to bed angry. Stay up and plot your revenge.
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 05:39 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.