Source code of Windows XP (NT5)
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.

45 lines
964 B

  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. (for /f %%i in ('dir obj /ad /b /s') do (rd /s /q %%i >nul 2>&1)) >nul 2>&1
  12. rd /s /q lib >nul 2>&1
  13. if "%flavor%" == "" goto deletetlb
  14. (for /f %%i in ('dir obj%flavor% /ad /b /s') do (rd /s /q %%i >nul 2>&1)) >nul 2>&1
  15. rd /s /q lib%flavor% >nul 2>&1
  16. REM
  17. REM Individually remove all generated files.
  18. REM
  19. :deletetlb
  20. rem ... del server\seo\ddrop\ddrop.tlb >nul 2>&1
  21. REM
  22. REM Delete the propagation directory.
  23. REM
  24. goto End
  25. if not (%_nttree%)==() rd /s /q %_nttree%\iis >nul 2>&1
  26. if not (%_nt386tree%)==() rd /s /q %_nt386tree%\iis >nul 2>&1
  27. if not (%_ntalphatree%)==() rd /s /q %_ntalphatree%\iis >nul 2>&1
  28. if not (%_ntia64tree%)==() rd /s /q %_ntia64tree%\iis >nul 2>&1
  29. if not (%_ntaxp64tree%)==() rd /s /q %_ntaxp64tree%\iis >nul 2>&1
  30. :End