I would check to see if DeleteFile, File.Delete, File.Move or File.Copy works; if not, then something may be keeping those files open (or you don't have permission to overwrite them). If any of those ...