Batch file which runs under window xp is needed, The commands in it must do the follow:
given info: old_name, new_name, dir_path
Copy the directory tree in dir_path.
Rename any directory in the tree from old_name to new_name:
example: replace "d" to "k" any where it is found under c:\a\b\c and its sub directories. So,
from: c:\a\b\c\d
to: c:\a\b\c\k
and
from: c:\a\b\c\d\e\d\f\d\...
to: c:\a\b\c\k\e\k\f\k\...
and so on...
And as an additional option do the following:
Inside each file in each directory, "find case insensitive" old_name and replace "case sensitive" with new_name, so:
find OLD_Name replace with NEW_Name
find old_Name replace with new_Name
find old_name replace with new_name
and so on...