if  DirectoryExists(cookiespath) then  判断目录是否存在

 

fileexists  是判断文件的 。