Asp kodları ile herhangi sürücünün (drive) olup olmadığının kontrolünü yapar.
<%
Dim Dosya
Set Dosya=CreateObject("Scripting.FileSystemObject")
if Dosya.DriveExists("c:")=true then
Response.Write("Sürücü C mevcut")
else
Response.Write("Sürücü C mevcut değil")
end if
Set Dosya=Nothing
%>







Yorum Yaz