Using Invoke to Move and archive folders

Hi,

I have a folder structure that has one Top Level Folder, with the 4 sub folders under that multiple folders under each of them 4.

All of these folders are not to be touched/moved or deleted - under each of the 3rd level folders there are folders create each day for policy.

e,g Main/1st Level/2nd Level/123556/

I want to move each of the sub folders with the Policy number to an achive folder without having to move all of the 1st and 2nd levels.

How do I go about this with an invoke.

@sean.ryan

Directory.Getdirectories("folderpath","any foldername search if needs to be included") … this will give you alist of folders matching the search criteria…if you want all you can leave the search as well…

Now you have the list of folders…from
Them navigate 2 levels down by repeating thw above step as needed…then when you reach to the level of the folder you want to move…use directory.Move("source","Destination") will help you to move the folder

Hope this helps

Cheers