Home > Archive > Programming with dBASE > February 2006 > How to fill a memory chip (I mean the one of a digital camera, a MP3 music player etc) with a file









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to fill a memory chip (I mean the one of a digital camera, a MP3 music player etc) with a file
evilaro

2006-01-31, 8:23 pm

To all:

I would like to erase or format a memory chip , and then add
a file with random data, the same size of the chip, and erase it so it will
no
be possible or very difficult to restore the original data on the chip.

By memory chip I mean the memory sticks, the ones people carry around to
pass info
between computer, or the memory chips of digital cameras or the ones contain
..mp3 players.

Any suggestions

Emilio


evilaro

2006-01-31, 8:23 pm

I suppose if I erase what it is on the chip
I can use DISKSPACE to find out
the size of the chip.

Any other suggestions?

Emilio


Mervyn Bick

2006-02-01, 3:23 am

On Tue, 31 Jan 2006 23:23:34 +0200, evilaro <buzon[NO]@evilfoto.es> wrote:


> I would like to erase or format a memory chip , and then add
> a file with random data, the same size of the chip, and erase it so it
> will no be possible or very difficult to restore the original data on
> the chip.
>
> By memory chip I mean the memory sticks, the ones people carry around to
> pass info between computer, or the memory chips of digital cameras or
> the ones contain .mp3 players.


I haven't got round to re-installing dBase and its documnetation since the
recent harddrive problems so I can't check this but it might work. <g>

Delete whatever is on the chip and then create a new file using the file
class method create(). Then, using the write() method, keep adding a
string of nonsense characters (or even something like "Killroy was here"
or "Get EvilFoto from www.evilfoto.se" <g> )until the chip is full.
Write() returns the number of bytes actually written and if it is less
than the number of characters in the string being written then the disk is
full. If you then close and erase the file all anyone will be able to
recover is whetever you have just written.

Mervyn
evilaro

2006-02-02, 3:23 am

Mervyn:

Absolutelly...

The only problem I am finding out...
IS the time it takes to load 4 gibabytes onto the card..

This is amaizing.

But this proces is what I an doing.

thanks

Emilio




"Mervyn Bick" <invalid@invalid.invalid> escribió en el mensaje
news:op. s4aeq3e1380wm4@mervy
n1...
> On Tue, 31 Jan 2006 23:23:34 +0200, evilaro <buzon[NO]@evilfoto.es> wrote:
>
>
>
> I haven't got round to re-installing dBase and its documnetation since the
> recent harddrive problems so I can't check this but it might work. <g>
>
> Delete whatever is on the chip and then create a new file using the file
> class method create(). Then, using the write() method, keep adding a
> string of nonsense characters (or even something like "Killroy was here"
> or "Get EvilFoto from www.evilfoto.se" <g> )until the chip is full.
> Write() returns the number of bytes actually written and if it is less
> than the number of characters in the string being written then the disk is
> full. If you then close and erase the file all anyone will be able to
> recover is whetever you have just written.
>
> Mervyn



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com