Asp kodları ile disk üzerinde herhangi bir dosyanın olup olmadığının kontrolünü yapar.
<%
Dim Dosya
Set Dosya=CreateObject("Scripting.FileSystemObject")
if Dosya.FileExists("d:\aaa.doc")=true then
Response.Write("aaa.doc mevcut")
else
Response.Write("aaa.doc mevcut degil")
end if
Set Dosya=Nothing
%>







Yorum Yaz