Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro Substitution Not Working in exe
Message
De
16/09/2004 16:36:59
 
 
À
16/09/2004 16:33:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00943098
Message ID:
00943106
Vues:
19
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform