Drvready() only supports testing of drives A: and B:. Does anybody know how to test whether a CD-ROM drive is ready?
Thank you very much!
A. Singer
You could try writing to the disk with an OSWRITE or OSBWRITE and check the error status. Alternatively you could try the CDRDY function. To see if the processor is ready for utilisation, you'd call the PURDY function.
Gary Gnu
What's the correct syntax for these, Gary?
Eric
Try This - it returns the CD ROm drive letter only if a CD is present.
Steve
StatusVar=CDRDY( "D:\HMV\BoogieWoogieBuggleBoyFromDriveC" )
StatusVar=PURDY( "DarnGoodShooting", "Tex" )
StatusVar=GNURDY( "ForMoreBadJokes" )
Gary Gnu