i thought it was

If My.Computer.FileExists("file name") = True Then
Kill("file name")

but i get an error... anyone help?