>I am using FILE() with a full path and a full file name. It works great unless the file is located directly under the root. FILE('C:\upload.txt') will return .T. as long as upload.txt is in the path. It does not matter that c:\upload.txt does not exist.
>
>Is this known behavior for FILE()? What are my other options?
>
>Thanks
>
Brenda,
If you need to check for a file in a specific directory, I recommend using ADIR(). If it returns 0, the file doesn't exist in the specified directory.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao