Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How check for valid file name
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00443211
Message ID:
00444058
Views:
10
>>I did some checking of the ValidPath() function in 6.0 and it does indeed handle long file names. New version of Extended Foxtools Help will be available shortly.
>
>Does it check in the context of the target file system? If so, great, otherwise, AFAIK, the most reliable test is to actually try it.

You mean there are actually folks out there running file systems that don't support long file names? (George's way of admitting he'd forgotten about that problem).

Seriously, I doubt if the functions check the target FS. However, with local drives, it should be reasonably accurate. Even so, you're right (as usual< s >). The info on ValidPath() states only that it will not reject a valid filename, not that it'll catch every possible invalid name.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform