>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.
>
Use ADIR() instead of FILE(). I've run into some problems on networks with file that ADIR() was happy to handle.
George Tasker has some sample code in the Files Section that can also deal with obnoxious file names through the API where ADIR() may not be 100% reliable, either. I've not encountered problems with ADIR() where explicit file names were involved, but have run into some problems with LFNs and wildcarding.