>George,
>
>Got this to work. Now I am using this to activate Acrobat distiller with a file name. All Works good except I have to manually close the Distiller before my fox code continues to process. I need a way to automate closing the distiller.
No, not from within VFP. I'd take a look at two possibilities. First, are there additional command line parameters to tell the application to shut down when finished? Two, and this is a real long-shot, perhaps creating a PIF file with the close window when finished check box checked, might work (I doubt it, but it doesn't hurt to try).
George
Ubi caritas et amor, deus ibi est