What is the best way to format an usb drive (> 32Gb) with Java on Windows?
I tried to use the format
function:
Process p = Runtime.getRuntime().exec("CMD /C format f: /FS:FAT32 /Q /X /Y");
But the size of the drive is limited to 32Gb. My usb drive is larger than 100Gb.
Could I do it using JNI or will I be limited with the 32Gb?