j'essaie de formater une carte micro sd sans utiliser de fenetre graphique avec ces commande :
dos_command="echo y|format "+NewDriveMount[0:2]+" /FS:FAT/V:leyio_uSD/A:32k/Q"
os.system(dos_command)
sauf que j'ai ce message d'erreur qui s'affiche :
format cannot run because the volume is in use by another process
format may run if this volume is dismoted first.
all opened handles to this volume ? <Y/N> can not look the drive.
the volume is stil use
si qlq un aurait une réponse merci d'avance
Partager