Thanks, Sergey and Naomi.
Yes, it seems that name expression fixes a lot of things. Ok, maybe a few of the SETs need a macro.
>There're always ways to breake it :)
>
>lcExeName = "c:\my stuff\my cool application.exe"
>RUN &lcExeName
>
>
>It'll work as long as there're no spaces in the path or file name.
>Another example
>
>lcDIR = "c:\my stuff"
>
>* Macro substitution will error out
>CD &lcDir
>
>* Name Expression will work
>CD (lcDir)
>
>
>
>>A co-worker and I are having another debate about whether or not to use spaces in folder names and EXE names.
>>
>>I worked at Microsoft in the VFP group and we fixed all problems related to long file names and folder names and spaces back in either VFP5 or VFP6. I was there.
>>
>>For example:
>>
>>"c:\my stuff\my cool application.exe"
>>
>>Is there anything wrong with that?
>>
>>Will it ever not work? Or will it always work because VFP was Windows certified and it has to work?
>>
>>Thanks in advance.