Re: make content's of file in binary form to zero and convert themback
On Tue, 05 Feb 2008 20:33:09 -0800, checoo wrote:
> I am trying to change the content's of a file in binary form to zero and
> then again change them back.
>
> Can anyone me with this.
Sure:
1) Make copy of file
2) Determine number of bytes to write
3) Write 0 bytes to original file
4) Copy duplicate file back to original file
5) Optionally remove duplicated file
Sum total effect of operation: spin the disk a while. Assuming the file
is on a disk.
|