Did you try
API_APPRUN in .VCX form File #
9477 class by Ed Rauh?
>How do I get VFP 7.0 to RUN a file that has spaces in the path.
>
>Neither of these work.
>lc = 'C:\Set Time\settime.bat'
>! &lc
>
>lc = ["C:\Set Time\settime.bat"]
>! &lc
>
>But this does
>lc = 'C:\SetTime\settime.bat'
>! &lc
>
>I'm trying to run an EXE that is in C:\Program Files\, so I can't rename the directory.
>
>TIA
If it's not broken, fix it until it is.
My Blog