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.

46 lines
1.0 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 >nul 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. rem ... del server\seo\ddrop\ddrop.tlb >nul 2>&1
  23. REM
  24. REM Delete the propagation directory.
  25. REM
  26. goto End
  27. if not (%_nttree%)==() rd /s /q %_nttree%\iis >nul 2>&1
  28. if not (%_nt386tree%)==() rd /s /q %_nt386tree%\iis >nul 2>&1
  29. if not (%_ntalphatree%)==() rd /s /q %_ntalphatree%\iis >nul 2>&1
  30. if not (%_ntia64tree%)==() rd /s /q %_ntia64tree%\iis >nul 2>&1
  31. if not (%_ntaxp64tree%)==() rd /s /q %_ntaxp64tree%\iis >nul 2>&1
  32. :End