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.

40 lines
659 B

  1. @echo off
  2. if "%lego%" == "" goto nolego
  3. :start
  4. if "%1" == "" goto all
  5. :options
  6. if "%1" == "cab" goto cab
  7. if "%1" == "exe" goto exe
  8. if "%1" == "" goto end
  9. :cab
  10. echo Generating wab.cab...
  11. copy wab50.inf.cab wab50.inf
  12. start /w /min iexpress /m /n wabcab%lego%sed
  13. if exist ..\wab.cab del ..\wab.cab
  14. move wab.cab ..
  15. goto next
  16. :exe
  17. echo Generating wab.exe...
  18. copy wab50.inf.exe wab50.inf
  19. start /w /min iexpress /m /n wabexe%lego%sed
  20. if exist ..\wab.exe del ..\wab.exe
  21. if exist ..\wabinst.exe del ..\wabinst.exe
  22. move wabinst.exe ..
  23. goto next
  24. :next
  25. shift
  26. goto options
  27. :nolego
  28. set lego=.
  29. goto start
  30. :all
  31. %0 cab exe
  32. :end