If FileSys.FileExists("c:\data\fox2.jpg") Then '如果指定的文件存在 FileSys.DeleteFile("c:\data\fox2.jpg",2,2) '则彻底删除之End If