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.

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