>Dear Experts
>
>There is a folder in following location
>
>d:\accounts\pictures\1101.jpg
>
>How to findout this file exists or not?
>
>Please help
The file() function is not always reliable since it will check your complete path even if you tell it to check a specific path. This is better
llFileExists=adir(temp,'d:\accounts\pictures\1101.jpg')>0