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.

24 lines
525 B

  1. @echo off
  2. setlocal ENABLEDELAYEDEXPANSION
  3. if DEFINED _echo echo on
  4. if DEFINED verbose echo on
  5. REM ********************************************************************
  6. REM
  7. REM This script creates the cab
  8. REM
  9. REM ********************************************************************
  10. REM
  11. REM Params:
  12. REM
  13. REM %1 DDF directory - this is where makefile and CDF file are located
  14. REM %2 name of the ddf (without .ddf)
  15. cd /d %1
  16. echo started %2 > %1\%2.txt
  17. makecab /F %2.ddf
  18. del /f /q %1\%2.txt
  19. endlocal