>Viv
>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. "
I agree that the observed behavior is queer, or at least, inconsistent with the manual.
It seems you should just use the workaround of using adir(), if you want to make sure that VFP does not look anywhere except the desired directory.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)