Hi,
You need to declare your variable first. You need to release it when you are done.

Code:
Dim FSO 
Set FSO = CreateObject("Scripting.FileSystemObject")
x = ("c:\testfile*.ZIP")
FSO.deleteFile(x)
set FSO = nothing
Hope this helps
Maxime
Team OL