posted 13 years ago
Hi All,
I have an issue where I need to search through a folder which has many subfolders and the subfolders also have folders.... The folders have files inside them.I need to create a folder of a particular name inside all the folders which have atleast one file or more and move all the files from that folder level inside this newly created folder.
This behaviour should be uniform throughout the folder hierarchy i.e the new folder should be created at all levels where there is atleast one file present(there could be more than 1 file) and all those files at that level should be moved inside the newly created folder at the same level.
Please can someone help or post some sample code if possible.
Thanks
Sonali