Pseudo code.......(haven't tested it, but should work...... delete's the
file's first, then the folder)
<%
Dim FSO
Dim Fil
Dim Files
Set FSO = CreateObject("Scripting.FileSystemObject")
'change Server.MapPath("./") to the actual folder
Set Files = FSO.GetFolder(Server.MapPath("./")).Files
For each fil in Files
FSO.DeleteFile fil
Next
'change Server.MapPath("./") to the actual folder
FSO.DeleteFolder(Server.MapPath("./"))
Set FSO = Nothing
Set Fil = Nothing
Set Files = Nothing
%>
--
Regards
Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk
Keeping it FREE!
Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
tvr <tv*****@yahoo.com> wrote in message
news:6f**************************@posting.google.c om...
Hi,
I have a strange problem.
I am not able to delete a published folder.
Any ideas??
The files in the folder are not open, but it still
says that "Please make sure files ...."
I am working on windows 2000 Advanced server with IIS 5.
Thanks
tvr