DriveExists

ASP DriveExists metodi


❮ FileSystemObject obyektining to‘liq ma’lumotnomasi

DriveExists metodi ko‘rsatilgan disk mavjudligini bildiruvchi Boolean qiymatni qaytaradi. Agar disk mavjud bo‘lsa, True, aks holda False qaytaradi.

Sintaksis

FileSystemObject.DriveExists(drive)

Parametr Tavsif
drive Majburiy. Disk harfi yoki yo‘lning to‘liq ko‘rsatilishi

Misol

<% dim fs set fs=Server.CreateObject("Scripting.FileSystemObject") if fs.DriveExists("c:")=true then   response.write("Drive c: exists!") else   response.write("Drive c: does not exist.") end If set fs=nothing %>

❮ FileSystemObject obyektining to‘liq ma’lumotnomasi

W3Schools Pathfinder

Yutuqlaringizni kuzating – bu bepul!