ASP IsReady 속성


❮ 전체 드라이브 개체 참조

IsReady 속성은 지정된 드라이브가 준비되면 true를 반환하고 그렇지 않으면 false를 반환합니다.


통사론

DriveObject.IsReady

예시

<%
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!

❮ 전체 드라이브 개체 참조