as I understand to rebase 1.dll and 2.dll you do this

rebase.exe -b 0x400000 1.dll 2.dll

right. Is ther a way to create a .bat file that sequentally rebase multiple files


rebase.exe -b 0x400000 1.dll
rebase.exe -b 0x400000 2.dll but now 1.dll and 2.dll are both unique base addresses.

The problem is that I have a program with many dlls in many extreamly nested folders. I could not possible include all the paths in a single command line.

Any Ideas?