<p>I would find out the <em>floppy inserted state</em>:</p>

<ul>
<li>no floppy inserted</li>
<li>unformatted floppy inserted</li>
<li>formatted floppy inserted</li>
</ul>

<p>Can this determined using "WMI" in the System.Management namespace?</p>

<p>If so, can I generate events when the <em>floppy inserted state</em> changes? </p>

This comes from
Scripting Center @ MSDN
:
```
```
strComputer = "."
Set objWMIService = GetObject( _
    "winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery _
    ("Select * From Win32_LogicalDisk Where DeviceID = 'A:'")

For Each objItem in colItems
    intFreeSpace = objItem.FreeSpace
    If IsNull(intFreeSpace) Then
        Wscript.Echo "There is no disk in the floppy drive."
    Else
        Wscript.Echo "There is a disk in the floppy drive."
    End If
Next
```
```
You'll also be able to tell if it's formatted or not, by checking other members of the
Win32_LogicalDisk class
.