Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Format Disk using FoxPro Command?
Message
De
04/07/1999 18:17:39
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
04/07/1999 11:46:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00237325
Message ID:
00237372
Vues:
13
>>Can i format disk using FoxPro Command?
>
>You can run the command line format command using VFP's RUN command, or using any of a number of API calls such as ShellExecute() or CreateProcess() - my API_APPRUN class uses the CreateProcess() API call.
>
>The simple example, using VFP to format a disk in the A: drive:
>
>RUN FORMAT A: /Q/U

I'd rather go the API way here, because I've had bad experience with running the DOS Format under Windows (even version 7.1, which ships with W95 OSR2, and also with W98), because in some environments it simply freezes the task that calls it - be it Fox or a separate Dos window. Happened on three different machines in six months (and would still be happening, but we rather taught the users how to click their way through).

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform