Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
'CD' Command
Message
 
 
À
17/05/2001 11:16:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00508322
Message ID:
00508334
Vues:
22
This message has been marked as the solution to the initial question of the thread.
I know you answered yourself, but the correct solution is:

CD (gcPath)

>Here's my problem:
>
>If I do this:
>
<CODE>
>CD "C:\Program Files\MyProgram\"
></CODE>
>It works fine.
>
>But if I do this:
>
<CODE>
>LOCAL gcPath
>gcPath = "C:\Program Files\MyProgram\"
>CD &gcPath
></CODE>
>I get an "Invalid path or filename" error. I know that it's because of the space character in the path but why is it working when written directly and not when using a variable? What can I do to correct this problem?
>
>Thanks a lot in advance, Stephane.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform