Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hiding the DOS Command Prompt
Message
De
02/08/2002 06:34:05
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00682911
Message ID:
00685341
Vues:
23
>>hello everybody,
>>
>>how could I hide the DOS Command Prompt that pops up when I run a DOS command in my VFP program?
>>
>>Thanks very much,
>>Jimi
>
>Take a look at file #9477. It allows to run command hidden.

Seems it can only run a program hidden, but cant run DOS command such as "copy"
or just i'm missing something? anyway, I tried to use xcopy.exe instead of copy, it seems good.

But then i have another problem: since my task is to copy some files to a folder and zip them, i have to wait until all files are copied before zipping. I used LaunchAppAndWait() for this, however, the program does not aware that xcopy is finished even after all files are copied, until the user press "Esc". This problem only occurs when using xcopy, it can waits and works again in correct timing when i test with other program (e.g. pkzip)

Any idea?

Thanks a lot!
Jimi
error(503): file structure failure, signature file corrupted.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform