Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to handle external program run ??
Message
 
À
04/01/2001 23:30:40
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00459666
Message ID:
00460277
Vues:
11
Hi!

I think you have to put a while do loop that will check the output file...

*******
wait window "Please wait, creating back-up files...." NOWAIT
run /n1 winrar a -o+ bb.rar
do while !file("bb.rar")
enddo
wait window "Completed...."
:
:
:

--------> Your message

Dear everybody,
In my program, I write a backup/restore routine which utilize winrar as backup program.

In my segment:

:
:
run /n1 winrar a -o+ bb.rar .
wait window "OKAY" nowait
:
:

However, The program switch to next line, before the first line run completed.
How can I program to do that the wait window preform after the run command completely done.
Joe Mamokan
Database Specialist
Email Address: mamokan@eudoramail.com
Url Address: http://visnet_dd.tripod.com
"Can you VISUALIZE Quick Data Access"
Cell # +639172482033
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform