Check-out the builtin EXIST() function, example:

Code:

if exist("e:\docs3")

?"file exists!"

else

?"file doesn't exist"

endif



-Shawn