Drive.IsReady : Drive : MS JScript JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » MS JScript » Drive »

 

Drive.IsReady







If the drive is ready, true is returned, otherwise false is returned.












<html>
    <script language="JScript">
    <!--
    var drivePath = "A:";

    var drive = fileSysObj.GetDrive(fileSysObj.GetDriveName(drivePath));

    if(drive.IsReady)
      document.write("Drive ",drivePath," is ready.");
    else
      document.write("Drive ",drivePath," is NOT ready.");
    -->
    </script>
</html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo MS JScript
» Drive