VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Remove Directory using RemoveDirectory API

by Karthikeyan (187 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Wed 1st August 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Remove Directory using RemoveDirectory API

Rate Remove Directory using RemoveDirectory API



retval = RemoveDirectory("C:\Karthik\newtestdir")
If retval = 1 Then
MsgBox "C:\Karthik\newtestdir was successfully deleted."
Else
MsgBox "Deletion failed."
End If
End
End Sub


Download this snippet    Add to My Saved Code

Remove Directory using RemoveDirectory API Comments

No comments have been posted about Remove Directory using RemoveDirectory API. Why not be the first to post a comment about Remove Directory using RemoveDirectory API.

Post your comment

Subject:
Message:
0/1000 characters