Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro Substitution Not Working in exe
Message
From
16/09/2004 16:36:59
 
 
To
16/09/2004 16:33:18
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00943098
Message ID:
00943106
Views:
18
Thanks Stefan,

There may be spaces in the file name, but I suppose I could replace them with strtran(). BTW, are you friends with Jorg Karpa? I worked with him in Hamburg...

>> 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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform