寻删除目录的函数?
我试过RemoveDirectory,但是只能删除空目录,请问有删除整个目录的函数马?
用FSO Option Explicit
Private Sub Command1_Click()
Dim fso As Object Set fso = CreateObject("Scripting.FileSystemObject") If fso.folderexists("C:\test") Then fso.DeleteFolder "C:\test" End If Set fso = Nothing End Sub