VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

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

John Galanopoulos  (10 Submissions)   Files/File Controls/Input/Output   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

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.

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.

Rate Wipe out a file using Windows API. No traces, no recover. (6(6 Vote))

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

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

No comments yet — be the first to post one!

Post a Comment

0/1000 characters