VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



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

by John Galanopoulos (10 Submissions)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (5 Votes)

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
Code 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.

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

Download Wipe out a file using Windows API. No traces, no recover. (4 KB)

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

No comments have been posted about Wipe out a file using Windows API. No traces, no recover.. Why not be the first to post a comment about Wipe out a file using Windows API. No traces, no recover..

Post your comment

Subject:
Message:
0/1000 characters