>How can you tell if a diskette is inserted in a given drive? Is there an API call for this function? Or a VFP command?
> Thanks, Chaim
Use the Windows Script Host's FileSystemObject. I posted this earlier to-day:
oFSO = CREATEOBJECT('Scripting.FileSystemObject')
oDrive = oFSO.GetDrive("A:")
? oDrive.IsReady
George
Ubi caritas et amor, deus ibi est