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