Clean_2007.cmd 768 B

1234567891011121314151617181920212223242526272829303132333435
  1. @echo off
  2. set DelphiProd=Delphi 2007
  3. if exist SetEnv.bat del SetEnv.bat
  4. if not exist computil.exe goto NoComputil
  5. computil SetupD11
  6. if defined NDD11 goto RSVARS
  7. if not exist SetEnv.bat goto NoNDD
  8. call SetEnv.bat > nul:
  9. if not defined NDD11 goto NoNDD
  10. :RSVARS
  11. call "%NDD11%bin\rsvars.bat"
  12. if not defined BDS goto NoBDS
  13. set logfn=CleanD11.log
  14. call Clean_IDE.cmd
  15. goto END
  16. :NoCompUtil
  17. echo Computil.exe not found--run this batch script from the "Lib" folder of the Indy repository, recently pulled from GitHub.
  18. goto END
  19. :NoNDD
  20. echo Computil.exe did not create the batch script for setting up the environment for %DelphiProd%. Aborting.
  21. goto END
  22. :NoBDS
  23. echo Calling RSVars did not set up the environment for %DelphiProd%. Aborting.
  24. :END
  25. set logfn=
  26. set DelphiProd=