Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Calling one exe from another, then quit
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Calling one exe from another, then quit
Divers
Thread ID:
00606513
Message ID:
00606513
Vues:
61
I have been working on a "loader" program in VFP 6 which attempts the following:
1. checks the local version of a VFP .exe against a remote copy (via FTP).
2. copies remote file, replacing local if remote is newer
3. either way, call the program and unload itself from memory.

All works except the last part. I can get the program to call the .exe file, but as soon as I issue "quit" I get an illegal operation.

Here's the relevant code:


l_dir = "c:\"
l_program = "time.exe"

l_command = "run /N " + l_dir + l_program

&l_command

quit


I'm sure it's something simple I'm doing wrong, so any help is appreciated!
Steve Howie, owner
DaSH Technology
Denver, CO
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform