IsReady

ASP IsReady xususiyati


❮ Drive obyektining to‘liq ma’lumotnomasi

IsReady xususiyati, agar ko‘rsatilgan disk tayyor bo‘lsa, true, aks holda false qaytaradi.


Sintaksis

DriveObject.IsReady

Misol

<% dim fs,d,n set fs=Server.CreateObject("Scripting.FileSystemObject") set d=fs.GetDrive("a:") n = "The " & d.DriveLetter if d.IsReady=true then   n=n & " drive is ready!" else   n=n & " drive is not ready!" end if Response.Write(n) set d=nothing set fs=nothing %> Output: The A drive is not ready!

❮ Drive obyektining to‘liq ma’lumotnomasi

W3Schools Pathfinder

Yutuqlaringizni kuzating – bu bepul!