wipe the sd-card

S

SHaul

Hi

it seems that there is no way to format the sd-card with code.
how about wiping it?
if I want to wipe it , I just need to delete all the files in it?

Thanks

Shaul.
 
A

Andreas Ringdal

Do a foreach for all folders, then all files on the entire sdcard and
delete them using the System.IO classes.

Then again this returns an exception if the folder name ends with either
" " or ".". (Mac users tend to create these type of folders).

Andreas

SHaul skrev:
 
S

SHaul

Thanks.


Andreas Ringdal said:
Do a foreach for all folders, then all files on the entire sdcard and
delete them using the System.IO classes.

Then again this returns an exception if the folder name ends with either "
" or ".". (Mac users tend to create these type of folders).

Andreas

SHaul skrev:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top