Thanks Nadya,
Seems like overkill, but it gets the job done.
>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
Bill Morris