wipe the sd-card

  • Thread starter Thread starter SHaul
  • Start date Start date
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.
 
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:
 
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

What are these please? 2
Excell 2021 0
Are WiFI SD Cards any good? 0
Windows 11 Windows 11 update 1
How big an SD card can I use? 4
How can I read SD card ID or similar information? 7
SD Memory Cards 3
Windows 10 New Win 10 File Explorer 2

Back
Top