|
.vbs script help- compare parent/child folders, move up & delete if identical names
Hey all,
I'm trying to find a script that will do some specific folder management. Here's what I need to do
- Search a batch of folders at once (Preferably all folders w/in one).
- Analyze child folder names and compare to parent folder
- If child name = parent name then move all contents from child to parent and delete child folder.
Here is the situation I'm running into
20080620\SampleFolderName\SampleFolderName\Files.doc
would turn into:
20080620\SampleFolderName\Files.doc
after running the script
Does anyone know of a script/utility that can easily do this? Can anyone help me make one? I'd be willing to pay but can only afford about $5.
Thanks for any help that you can give me!
|