Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why cd .. does not work?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00355830
Message ID:
00356123
Vues:
12
Hi Francesco,

>cd ..
>does not work in the prg, but it does in the command window.

I had this with VFP 6 on Windows 98, others couldn't duplicate it. The workaround is to use:

CD ..\

that is, always add a backslash, otherwise the last part of the directory tree is ignored. It looks like VFP treats it as a filename and uses something like JUSTPATH() on the parameter.

Christof
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform