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 receive the backup data is ready or not.
Examples
IF IsDisk( "A" ) ? "Drive is ready " ENDIF
Tests
See Examples
Compliance
This function is CA-Cl*pper 5.3 compliant
Platforms
All
Files
Library is rtl
Seealso
DIRCHANGE(), MAKEDIR(), DIRREMOVE(), DISKCHANGE(), DISKNAME()
Pingback: Harbour Check Functions | Viva Clipper !
Pingback: Harbour All Functions – I | Viva Clipper !
Pingback: Harbour Files and Folders Functions | Viva Clipper !
Pingback: Harbour RG Summary | Viva Clipper !