Re: FileCopy overwrites the existing file

Tech-Archive recommends: Fix windows errors by optimizing your registry



"Grzegorz Wróbel" </dev/null@xxxxxxxxxxxxxxxxxxxxx> wrote in message news:el83co$ll4$1@xxxxxxxxxxxxxxxxxxxxxx

The problem on which I did focus however, was a convenient way to destroy the single files, leaving entire drive and other
software intact.

Yes. However, the disk controller, or some software layers above or
below the OS, can change the behaviour of the write operation.
For example, the zero data you're rewriting the file with, would
be written into new sectors, and these sectors will be included
in the file; while the old data will be left somewhere else
( shadow copy, previous versions or whatever).

This is why rewriting *only* a single file and leaving the
rest of drive intact, generally is out of our control.

Regards,
--PA


.