Advertisement
3_2004-2005 Miscellaneous #135359

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

สรุปโดย 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.

ซอร์สโค้ด
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
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine