Unicode Controls & Classes for VB6 - Version 4

clsShellOperation.ShellDeleteRic Function

Recursively deletes a folder (and subfolders) or a single file

Syntax
Public Function ShellDeleteRic (ByVal sFile As String, _
Optional ByVal bAllowUndo As Boolean = True) As Boolean
Parameters
Parameter Description
ByVal sFile As String The file or folder
Optional ByVal bAllowUndo As Boolean = True If True, files are moved to the recycle, otherwise they are deleted permanently
Remarks