How to programatically format an SD card with FAT16?

前端 未结 6 1405
旧时难觅i
旧时难觅i 2020-12-10 20:47

I\'d like to initialize an SD card with FAT16 file system. Assuming that I have my SD reader on drive G:, how I can easily format it to FAT16 ?

UPDATE:

6条回答
  •  粉色の甜心
    2020-12-10 21:13

    Couldn't find a function in DriveInfo et al, but you can always use (create) a batch file containing Format G: /FS:FAT and start it with System.Diagnostics.Process

提交回复
热议问题