Search And Copy

I need an program that will execute following:

1) Config File will have following parameters
a) NFolder= <folder_name> //This is the full name or part of the name of the folder we are looking for
b) NPath= <path> //This is the starting path where NFolder should be searched for
c) DFolder= <path> //This is the path where we would like to copy the content of the PFolder

2) Executable file is scanning for the NFolder under the NPath

3) When NFolder is Identified, his parent folder (PFolder) with all subdirectories and content is copied under the DFolder

4) Action 3) is repeated for every occurence of NFolder under NPath

Preferable format for the program would be the ms-dos batch file (*.bat), as I would like to run this program on different windows machines. However this is not a prerequisite.

Leave a Reply

Your email address will not be published. Required fields are marked *