>Correct me if I'm wrong, but, with this method, you won't be able to tell (in your C program) whether the program was successful (ie. whether the files have been packed)...in other words, you won't be able to get any returns codes or any 'feedback' from the VFP .exe....
>
>Joe
>
>>
>>I changed to the WinExec function and it worked. Thanks. Don West.
Thanks for you comments. I thought about it and wrote my own shutdown routine in VFP that will catch the errors. In the VFP program that is called, certain variables must be set to succeed......the shutdown program checks them and displays messages accordingly.
Thanks. Don West.