I'm attempting to add an autorun-style feature to my text-based OE. Basically, while it's waiting for character to be typed it'll call a subroutine that checks for autorun.inf on drive D: (or whatever) every second or so. However, if there is no CD in the drive DOS will helpfully inform me that nothing's in there (Abort, retry, fail stuff). Is there any way of checking to see if a CD is in the drive before actually attempting to access the disc?