Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET DEFAULT or CD (change directory) bug?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00899075
Message ID:
00901062
Views:
24
Thanks Borislav. I wasn't even aware there was a DIRECTORY() function - I'll try it. However, it doesn't explain why the code sample doesn't work. The user has rights to C:\ (for example, and whatever other locations might be specified), and the "set default to &mcDir" should either succeed or fail depending on whether the operation succeeded or failed, especially as it's in a try/catch. It should also continue with the instruction after the try/catch block, which is to set edafult back to the current folder. This doesn't happen, so yet another bug in VFP8.

Thanks again for the suggestion though.

Matt.
Previous
Reply
Map
View

Click here to load this message in the networking platform