home *** CD-ROM | disk | FTP | other *** search
/ PC Press 1997 July / Sezamfile97_2.iso / windows / program / activex / axtsamp.exe / TSBRANCH.EXE / CLEANALL.BAT < prev    next >
DOS Batch File  |  1997-01-13  |  2KB  |  48 lines

  1. @echo off
  2. : /*+========================================================================
  3. :  File:      CLEANALL.BAT
  4. :
  5. :  Summary:   This Batch file cleans all of the COM Tutorial Code Samples.
  6. :             All COM servers are unregistered from the the registry.  Most
  7. :             of files that are generated during the build of the code
  8. :             samples are deleted. This includes the EXE and DLL
  9. :             executables as well as all debug symbol files. It assumes
  10. :             that you have set up your environment to compile Win32
  11. :             applications using the Win32 SDK with Visual C++ v. 2.x or
  12. :             other compatible 32-bit C++ compiler.
  13. :
  14. :  Usage:     CLEANALL
  15. :               To clean up all the tutorial code samples.
  16. :
  17. :  Origin:    1-6-97: atrent - Revised for ActiveX Tutorial Sample series.
  18. :
  19. : --------------------------------------------------------------------------
  20. :
  21. :  This file is part of the Microsoft ActiveX Tutorial Code Samples.
  22. :
  23. :  Copyright (C) Microsoft Corporation, 1997.  All rights reserved.
  24. :
  25. :  This source code is intended only as a supplement to Microsoft
  26. :  Development Tools and/or on-line documentation.  See these other
  27. :  materials for detailed information regarding Microsoft code samples.
  28. :
  29. :  THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  30. :  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  31. :  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
  32. :  PARTICULAR PURPOSE.
  33. : ==========================================================================+*/
  34. :
  35. IF NOT EXIST register\register.exe GOTO CLEAN
  36. call unregall.bat
  37. IF ERRORLEVEL 1 GOTO ERROR
  38. :CLEAN
  39. call makeall.bat cleanall
  40. IF ERRORLEVEL 1 GOTO ERROR
  41. goto :DONE
  42. :ERROR
  43. echo ================ CLEANALL Error.
  44. goto :END
  45. :DONE
  46. echo ================ CLEANALL Work Done.
  47. :END
  48.