Purging a SharePoint list of all items and folders

I saw a posting on microsoft.public.sharepoint.development_and_programming requesting this, so I thought I would share here as well in case anyone needed this functionality. The code contained in this file: SPPurgeList.txt, contains sample code to purge a list of all it's contents and folders (Define WSSV3 for that). (Update 03-07-2007: See this link as this SPIEFolder …

Can you really have more than 2000 items per folder in SharePoint now?

[News! I've kicked off a crowdfunding campaign for the launch of my next album Xenogenesis Volume 1: Dawn!  Want to be part of it and have a chance to have your name in the liner notes and get an autographed copy? Be sure to check it out by clicking right here!] With Windows SharePoint Services …