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.

49 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. (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. del core\fixprop\src\mailmsg.tlb >nul 2>&1
  21. del driver\nntpfs\src\nntpfs.tlb >nul 2>&1
  22. del idl\nntpdrv\nntpdrv.tlb >nul 2>&1
  23. del server\newstree\src\mailmsg.tlb >nul 2>&1
  24. del server\post\src\cdo.tlb >nul 2>&1
  25. del server\post\src\wstgado.tlb >nul 2>&1
  26. del server\seo\ddrop\ddrop.tlb >nul 2>&1
  27. REM
  28. REM Delete the propagation directory.
  29. REM
  30. goto End
  31. if not (%_nttree%)==() rd /s /q %_nttree%\iis >nul 2>&1
  32. if not (%_nt386tree%)==() rd /s /q %_nt386tree%\iis >nul 2>&1
  33. if not (%_ntalphatree%)==() rd /s /q %_ntalphatree%\iis >nul 2>&1
  34. if not (%_ntia64tree%)==() rd /s /q %_ntia64tree%\iis >nul 2>&1
  35. if not (%_ntaxp64tree%)==() rd /s /q %_ntaxp64tree%\iis >nul 2>&1
  36. :End