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
783 B

  1. @echo off
  2. ::
  3. :: First we must test the OS.
  4. :: NT provides command line extensions we need
  5. ::
  6. if not "%OS%"=="Windows_NT" goto e_badplt
  7. set IC_OLD_SYNCOPT=
  8. set IC_ENLIST_ROOT=
  9. set IC_ROOT=
  10. set IC_DROP=
  11. set IC_ALPHA_DROP=
  12. set IC_BUILDSTATE=
  13. set IC_BLDNUM_DIR=
  14. set IC_DOT=
  15. set IC_SENDSTR=
  16. set IC_IMAGENAME=
  17. set IC_NOSYNC=
  18. set IC_SRCONLY=
  19. set IC_REBUILD=
  20. set IC_BUILD_FLAGS=
  21. set BLDNUM=
  22. title "R A Z Z L E"
  23. ::
  24. :: Make sure we got them all
  25. ::
  26. set IC_ > nul
  27. rem work item...
  28. echo Cleanup successful.
  29. goto exit
  30. :e_badplt
  31. echo Windows NT is required for this batch file
  32. goto exit
  33. :e_fail
  34. echo The environment cleaner batch file %0
  35. echo failed to remove all IC_* variables.
  36. echo Please refer to prop.bat and update this file.
  37. :exit
  38. echo: