Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why cd .. does not work?
Message
 
To
05/04/2000 14:25:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00355830
Message ID:
00356123
Views:
11
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
Previous
Reply
Map
View

Click here to load this message in the networking platform