SharePoint - Move items in doc library from folders to root

Asked By Chester Thomas on 18-Mar-11 03:55 AM

Hi experts,

I have a document library which has folders created daily with at least 100s of documents created inside daily. How can I remove the folders and move all the documents to the root of the folder programmatically?

Chester

Sahil Kumar replied to Chester Thomas on 18-Mar-11 05:50 AM

hi

its very important to have this programatic service which will do this for us instead of doing it manually....

this one function and a class will do this all...you just need to send your source and destination path in this function it will do all for you....