Set loFSO=CreateObject("Scripting.FileSystemObject") lcFile=Server.MapPath(lcFileToLookFor) If Not loFSO.FileExists(lcFile) Then lnExistFrench=0 End IfThe problem is when being run inside an ASPX page, the Set of the first line has to be removed. So, I need some ASP code that would do the equivalent which would fit in both pages.