SyntaxFix
Write A Post
Hire A Developer
Questions
You can set a reference to the Scripting.Runtime library and then use the FileSystemObject. It has a DeleteFile method and a FileExists method.
See the MSDN article here.