Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anyone know of a way to check for valid path?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Anyone know of a way to check for valid path?
Miscellaneous
Thread ID:
00192165
Message ID:
00192165
Views:
64
Hi all,

The problem is simple: If I have a stored path, something like:
lcPath = 'C:\thisfolderdoesnotexist\nowhere'

I'd like to check if the past exists or not.

I checked functions included in FOXTOOLS.FLL and nothing really did the job. I don't think VFP 6 has a function for this yet, and I'm using VFP 5 for this project. I've been suggested to use arrays, etc.

But before I start jack-hammering keys like crazy, wanted to do a check first.

:(

What do u propose to verify for its validity?

Thanks a lot,

Gil
For every bug fixed, there is a bigger bug not yet discovered.
Next
Reply
Map
View

Click here to load this message in the networking platform