ISDISK()

Verify if a drive is ready

Syntax

ISDISK( <cDrive> ) --> lSuccess

Arguments

<cDrive> An valid Drive letter

Returns

<lSuccess> .T. is the drive is ready, otherwise .F.

Description

This function attempts to access a drive. If the access to the drive was successfull, it will return true (.T.), otherwise false(.F.).This function is usefull for backup function, so you can determine if the drive that will recieve the backup data is ready or not.
Examples
      IF ISDISK("A")
          ? "Drive is ready "
      Endif
Tests
      See Examples
Status

Ready

Compliance

This function is CA Clipper 5.3 compliant

Platforms

All

Files

Library is rtl

See Also