Search Tools Links Login

Wipe out a file using Windows API. No traces, no recover.


Completely destroy a file with no chance of recovery or trace. Use of CreateFile,
FILE_FLAG_NO_BUFFERING
(Open the file with no intermediate buffering or caching)
FILE_FLAG_WRITE_THROUGH
(Write through any intermediate cache and go directly to disk)
and also FlushFileBuffers function to ensure that file buffers will be flushed!
A must test and see.

Original Author: John Galanopoulos

Inputs

The File you wish to delete

Returns

The results for your action

Side Effects

Handle with care. No way to restore the file after deletion.

API Declarations

Please use this version of my program.

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 67 times

Categories

Visual Basic 6

Attachments

Wipe_out_a3765311262001.zip
Posted: 9/3/2020 3:45:00 PM
Size: 4,876 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.