>>>I know you answered yourself, but the correct solution is:
>>>
>>>CD (gcPath)
>>>
>>
>>This solution is even better but how and why does it works? Why is adding parenthesis any different from 'CD gcPath'?
>>
>>Thanks again, Stephane.
>
>The macro expansion effectively eliminates the quotes around your variable whcih makes the space in the path invalid.
I understand the problem with my earlier declaration. The thing I don't get is why it's working when you add some parenthesis? What's the difference for VFP between
CD gcPath
and
CD (gcPath)
Btw, you have a nice signature. I agree with "GO BLUES" but I'll continue with "GO DEVILS"!
Stephane.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement