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.

52 lines
1.2 KiB

  1. @if (%_echo%)==() echo off
  2. setlocal
  3. set flavor=%1
  4. REM
  5. REM Remove any stray BUILD.* files.
  6. REM
  7. del build%flavor%.log build%flavor%.wrn build%flavor%.err /s >nul 2>&1
  8. REM
  9. REM Remove all OBJ and LIB directories.
  10. REM
  11. rd /s /q obj >null 2>&1
  12. (for /f %%i in ('dir obj /ad /b /s') do (rd /s /q %%i >nul 2>&1)) >nul 2>&1
  13. rd /s /q lib >nul 2>&1
  14. if "%flavor%" == "" goto deletetlb
  15. rd /s /q obj%flavor% >nul 2>&1
  16. (for /f %%i in ('dir obj%flavor% /ad /b /s') do (rd /s /q %%i >nul 2>&1)) >nul 2>&1
  17. rd /s /q lib%flavor% >nul 2>&1
  18. REM
  19. REM Individually remove all generated files.
  20. REM
  21. :deletetlb
  22. del seo\idl\seo.tlb >nul 2>&1
  23. del seo\lib\seo.tlb >nul 2>&1
  24. del seo\dll\seo.tlb >nul 2>&1
  25. del setup\seo.tlb >nul 2>&1
  26. del imsg\imsg.tlb del >nul 2>&1
  27. del nntpfilt\nntpfilt.tlb del >nul 2>&1
  28. REM
  29. REM Delete the propagation directory.
  30. REM
  31. goto End
  32. if not (%_nttree%)==() rd /s /q %_nttree%\iis >nul 2>&1
  33. if not (%_nt386tree%)==() rd /s /q %_nt386tree%\iis >nul 2>&1
  34. if not (%_ntalphatree%)==() rd /s /q %_ntalphatree%\iis >nul 2>&1
  35. if not (%_ntia64tree%)==() rd /s /q %_ntia64tree%\iis >nul 2>&1
  36. if not (%_ntaxp64tree%)==() rd /s /q %_ntaxp64tree%\iis >nul 2>&1
  37. :End