Afficher un message
Vieux 05/02/2008, 23h40   #1
Kelsey Bjarnason
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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.

  Réponse avec citation
 
Page generated in 0,04739 seconds with 9 queries