|
-
May 18th, 2000, 12:55 AM
#1
Thread Starter
Addicted Member
I thought this was easy...
How do you delete a folder? I thought it was easy, but the kill statement can only be used to delete files.
-
May 18th, 2000, 01:25 AM
#2
Lively Member
Dim Fobj As New FileSystemObject
Fobj.DeleteFolder "c:\MyFolder"
Try this
Ramdas
-
May 18th, 2000, 01:28 AM
#3
Thread Starter
Addicted Member
Sorry
-
May 18th, 2000, 01:34 AM
#4
Lively Member
Private Sub Command1_Click()
Dim Fobj
Set Fobj = CreateObject("Scripting.FileSystemObject")
Fobj.DeleteFolder "c:\MyFolder"
Set Fobj = nothing
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|