Advertisement
C_Volume2 Miscellaneous #71124

DelTree

DelTree function using FileSystemObject. Removes folder regardless of files/folders/system/hidden contained within. Couldn't find any deltree code here that worked, most used the kill statement and such in a rather large sub, found this in MSDN...

AI

Riepilogo AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Codice sorgente
original-source
<font face="Verdana" size="2" color="#000000">
<b>Public Sub DelTree(ByVal vDir As Variant)<br>
Dim FSO, FS<p>
Set FSO = CreateObject("Scripting.FileSystemObject")<br>
FS = FSO.deletefolder(vDir, True)<p>
End Sub
Commenti originali (3)
Recuperato da Wayback Machine