Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling one exe from another, then quit
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Calling one exe from another, then quit
Miscellaneous
Thread ID:
00606513
Message ID:
00606513
Views:
62
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
Next
Reply
Map
View

Click here to load this message in the networking platform