Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
434 B

  1. @echo off
  2. if "%1" == "" goto usage
  3. if exist %1.dll set ext=dll
  4. if exist %1.exe set ext=exe
  5. bbmerge /idf %1.bbi %1.bbf
  6. bbopt /odb %1.opt.bbl %1.bbf
  7. bblink /o %1.opt.%ext% %1.opt.bbl
  8. if exist %1.%ext% ren %1.%ext% %1.bak
  9. ren %1.opt.%ext% %1.%ext%
  10. splitsym %1.%ext%
  11. goto end
  12. :usage
  13. echo.
  14. echo Please give the prefix of the bbi file which you are working with.
  15. echo.
  16. :end