@echo off
if "%1"=="" goto bad
if "%2"=="" goto bad
echo Rebasing all dll's in current directory using the file %1.
echo If there are any errors check to make sure the file is not read-only.
echo Output from the rebase command will go to the file %2.
rebase -v -i %1 *.dll >  %2
goto end
:bad
echo Usage:
echo rbaseall coffbase_filename log_filename
echo coffbase_filename is usually coffbase.txt
echo log_filename is any file you specify to contain the output from rebase
:end
