IsCDReady




Dim FSO As FileSystemObject
Dim CDDrive As Drive
Set FSO = New FileSystemObject
Set CDDrive = FSO.GetDrive("E:")

If CDDrive.IsReady Then
MsgBox CDDrive.VolumeName
Else
MsgBox "Please enter a CD."
End If

Set CDDrive = Nothing
Set FSO = Nothing











( iscdready.html )- by Paolo Puglisi - Modifica del 17/12/2023