Sharing Violation, i think would mean that the folder is currently being used in someway.
Code:
'Probably the easiest way to do it. Other than RmDir
Dim folder
Set folder = CreateObject("scripting.filesystemobject")
folder.DeleteFolder("c:\windows\desktop\junk")
Gl,
D!m