The help fails to mention that FILE() first looks in the current APP/EXE for the file name (disregarding the path specified).
>from actual text from help file its obvious that it'll only look for in current path if we dont specify full path. see help contents below
>
>"You can include a path with the file name to search for a file in a directory or on a drive other than the current directory or drive.
>
>If you do not include a path with the file name, Visual FoxPro searches in the default directory for the file. If it cannot find the file in the default directory, Visual FoxPro searches along the Visual FoxPro path, which is established with SET PATH. "
--sb--