DiskExist

Tests for the existence of a drive.

Syntax:

DiskExist(driveletter)

Parameters:

(s) driveletter drive being tested.

Returns:

(i) @TRUE if the drive was found; @FALSE if the drive was not found.

 

Use this function to test for the existence of a specific disk drive.

 

Example:


b="A:"
a=DiskExist(b)
If a
   Message("Disk Exists", b)
Else
   Message("Disk Does Not Exist", b)
EndIf
See Also:

AppExist, FileExist, DirExist, DiskScan, DiskFree, LogDisk