Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File() isn't working with some files
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00251581
Message ID:
00251667
Views:
8
>I have a program that locates and moves linked Word documents that users drop all over the network. Unfortunately, FILE() returns .F. for a file with the name such as "John C. Smith Letter.DOC". Files with periods or some other previously disallowed characters aren't recognized.
>
>If anyone has a solution or workaround, I would greatly appreciate it.
>
>TIA

Exists( strExpr )


Function Exists
lParameter cFileString
if vartype( cFileString ) = 'C'
return not empty( sys(2000, cFilestring) )
else
return .f.
endif
Previous
Reply
Map
View

Click here to load this message in the networking platform