Hi everyone in vb land!

Hey so I have this code the erases files on a floppy. The problem is when I use this kill file code and the floppy is empty I get an error message “File not found”. Does anyone know how to trap this error or see if the floppy is empty first?

Code: Private Sub Command1_Click()
Kill “A:\*.t”
End Sub
Thanks for any help

reston