Created
July 30, 2013 14:11
-
-
Save PyramisDev/6113242 to your computer and use it in GitHub Desktop.
Deleting files using the delete method of System.IO
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dim FileToDelete As String | |
FileToDelete = "file to delete" | |
If System.IO.File.Exists( FileToDelete ) = True Then | |
System.IO.File.Delete( FileToDelete ) | |
MsgBox("File Deleted") | |
End If |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment