/ Published in: VB.NET
Expand |
Embed | Plain Text
Public Shared Sub EmptyDirectory(ByVal _dirPath As String) If Not Directory.Exists(_dirPath) Then Return End If 'Do not clear sub directories If (Not Directory.Exists(element)) Then DeleteFile(Path.Combine(_dirPath, Path.GetFileName(element))) End If Next End Sub
You need to login to post a comment.
