[Formatting] How to format a drive by program
Résolu/Fermé
tinoky
Messages postés
8
Date d'inscription
samedi 24 janvier 2004
Statut
Membre
Dernière intervention
29 janvier 2007
-
26 janv. 2007 à 11:00
tinoky Messages postés 8 Date d'inscription samedi 24 janvier 2004 Statut Membre Dernière intervention 29 janvier 2007 - 29 janv. 2007 à 10:11
tinoky Messages postés 8 Date d'inscription samedi 24 janvier 2004 Statut Membre Dernière intervention 29 janvier 2007 - 29 janv. 2007 à 10:11
I need to automatize the formatting of USB Flash Disks, under Windows XP Pro SP2, and running a program written with Visual C++ 6.0 .
I tryed by calling the "Format" system command, but this is a console application, and the returned status is not clear enougth. I need to know exactly what happen in case of fail.
How can I do?
I tryed by calling the "Format" system command, but this is a console application, and the returned status is not clear enougth. I need to know exactly what happen in case of fail.
How can I do?
A voir également:
- [Formatting] How to format a drive by program
- Format epub - Guide
- A quoi sert google drive - Guide
- Flash drive tester - Télécharger - Divers Utilitaires
- Telecharger format factory - Télécharger - Conversion & Codecs
- Format apfs - Guide
6 réponses
blux
Messages postés
26778
Date d'inscription
dimanche 26 août 2001
Statut
Modérateur
Dernière intervention
13 avril 2025
3 334
26 janv. 2007 à 15:24
26 janv. 2007 à 15:24
How can I do?
Ask it in French !
Ask it in French !
kij_82
Messages postés
4089
Date d'inscription
jeudi 7 avril 2005
Statut
Contributeur
Dernière intervention
30 septembre 2013
857
26 janv. 2007 à 15:31
26 janv. 2007 à 15:31
Le monsieur voudrait savoir comment faire pour :
formatter un disque de type clef USB via un programme écrit en C++. Il a tenté de passer par la commande externe 'format' du système et donc de prendre la valeur retournée par la commande.
Seulement voilà, le retour n'est pas assez explicite et il voudrait savoir notamment quelle est la source d'erreur dans le cas ou la commande s'est mal déroulée.
formatter un disque de type clef USB via un programme écrit en C++. Il a tenté de passer par la commande externe 'format' du système et donc de prendre la valeur retournée par la commande.
Seulement voilà, le retour n'est pas assez explicite et il voudrait savoir notamment quelle est la source d'erreur dans le cas ou la commande s'est mal déroulée.
blux
Messages postés
26778
Date d'inscription
dimanche 26 août 2001
Statut
Modérateur
Dernière intervention
13 avril 2025
3 334
26 janv. 2007 à 15:37
26 janv. 2007 à 15:37
J'avais bien compris, mais je croyais que le forum était francophone...
Pis j'avais pas bien vu les bonjour et merci, mais ça doit venir de moi !
Pis j'avais pas bien vu les bonjour et merci, mais ça doit venir de moi !
jipicy
Messages postés
40842
Date d'inscription
jeudi 28 août 2003
Statut
Modérateur
Dernière intervention
10 août 2020
4 898
26 janv. 2007 à 22:56
26 janv. 2007 à 22:56
Pis j'avais pas bien vu les bonjour et merci, mais ça doit venir de moi !
Pfffffffffffff t'es vraiment nul en anglais toi ;-DDDDDD
Pfffffffffffff t'es vraiment nul en anglais toi ;-DDDDDD
blux
Messages postés
26778
Date d'inscription
dimanche 26 août 2001
Statut
Modérateur
Dernière intervention
13 avril 2025
3 334
>
jipicy
Messages postés
40842
Date d'inscription
jeudi 28 août 2003
Statut
Modérateur
Dernière intervention
10 août 2020
27 janv. 2007 à 22:07
27 janv. 2007 à 22:07
Derme alors ! j'ai pourtant eu 16 sur 20 à mon épreuve de BTS..
BugMaker
Messages postés
34
Date d'inscription
vendredi 17 janvier 2003
Statut
Membre
Dernière intervention
6 février 2008
7
26 janv. 2007 à 22:14
26 janv. 2007 à 22:14
hi,
first step : hello everybody
second step : speak french (this is a french forum)
third step : thanks all
(this is a french translation of previous post) :-)
@++
-------------------------------------------------------------------------
if a train station is where the train stops, what is a workstation ?
first step : hello everybody
second step : speak french (this is a french forum)
third step : thanks all
(this is a french translation of previous post) :-)
@++
-------------------------------------------------------------------------
if a train station is where the train stops, what is a workstation ?
blux
Messages postés
26778
Date d'inscription
dimanche 26 août 2001
Statut
Modérateur
Dernière intervention
13 avril 2025
3 334
27 janv. 2007 à 22:05
27 janv. 2007 à 22:05
Ciao,
prima tappa : buongiorno a tutti
seconda tappa : parlare francese (è una tribuna francese)
terza tappa : grazie a tutti
(è una traduzione del messaggio precedente) :-)
Se la stazione è dove si ferma il treno, cos'è una stazione di lavoro ?
prima tappa : buongiorno a tutti
seconda tappa : parlare francese (è una tribuna francese)
terza tappa : grazie a tutti
(è una traduzione del messaggio precedente) :-)
Se la stazione è dove si ferma il treno, cos'è una stazione di lavoro ?
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question
huguen
Messages postés
6
Date d'inscription
jeudi 11 janvier 2007
Statut
Membre
Dernière intervention
27 janvier 2007
27 janv. 2007 à 22:13
27 janv. 2007 à 22:13
ciao Blux, vedo che parli italiano. Avendo io messo tutti i saluti e i ringraziamenti che ti piacono, potresti tu andare a vedere la mia domanda perché non ce la faccio più? Ti ringrazio.
Huguen.
Huguen.
blux
Messages postés
26778
Date d'inscription
dimanche 26 août 2001
Statut
Modérateur
Dernière intervention
13 avril 2025
3 334
29 janv. 2007 à 08:52
29 janv. 2007 à 08:52
Non ho l'abitudine di rispondere a quelle domande...
Vado a vedere se mi piace :-)
Vado a vedere se mi piace :-)
tinoky
Messages postés
8
Date d'inscription
samedi 24 janvier 2004
Statut
Membre
Dernière intervention
29 janvier 2007
29 janv. 2007 à 10:11
29 janv. 2007 à 10:11
Here is a solution
http://www.sysinternals.com/SourceCode/fmifs.html
Voici une solution
http://www.sysinternals.com/SourceCode/fmifs.html
http://www.sysinternals.com/SourceCode/fmifs.html
Voici une solution
http://www.sysinternals.com/SourceCode/fmifs.html