> Can anyone tell me why the following code works in debug but not in the exe?
>
> lcFile = ALLTRIM(cText)
> lcPrg = JUSTSTEM(lcFile) + ".prg"
> lcCommand = "'" + lcPrgDir + lcPrg + "'"
> DO &lcCommand
That ¯o substitution would fail with a "long" file /
path name containing spaces.
Does a (name expression) work for you?
DO (lcCommand)
hth
-Stefan