home *** CD-ROM | disk | FTP | other *** search
/ Media Share 9 / MEDIASHARE_09.ISO / clarion / p3004.zip / P3004.BAT < prev    next >
DOS Batch File  |  1993-07-02  |  1KB  |  46 lines

  1. @ECHO OFF
  2. IF "%1"=="" GOTO SYNTAX:
  3. GOTO OK:
  4. :OK
  5. ECHO *  Update Clarion 3.0 ver. 3003 to revision 3004
  6. ECHO *
  7. ECHO *  This batch file creates a Subdirectory named:  " %1\SAVETPL "
  8. ECHO *
  9. ECHO *  your existing Clarion template chain and default .APP will
  10. ECHO *  be copied to %1\SAVETPL before the patch CREATES the 3004
  11. ECHO *  versions of the template file and default .APP
  12. ECHO *
  13. ECHO *
  14. ECHO *  Copying templates and default .APP to %\SAVETPL
  15. @ECHO ON
  16. MD %1\SAVETPL
  17. COPY %1\CLARION.APP %1\SAVETPL
  18. COPY %1\CLARION.TPL %1\SAVETPL
  19. COPY %1\CLARION?.TPX %1\SAVETPL
  20. @ECHO OFF
  21. ECHO *
  22. ECHO *
  23. ECHO *
  24. ECHO *  Applying patch to upgrade version 3003 to revision 3004
  25. ECHO *
  26. ECHO *  Be sure to check the Presults.txt file to verify correct installation
  27. ECHO *
  28. ECHO *
  29. ECHO *
  30. PATCH %1 3004.RTP >Presults.txt
  31. ECHO *
  32. ECHO *  Please view the file Presults.txt for a report on the Patch application
  33. ECHO *
  34. GOTO EXIT
  35. :SYNTAX
  36. ECHO *
  37. ECHO          Syntax to apply the patch is P3004 [DRIVE:\DIRECTORY]
  38. ECHO *
  39. ECHO             DRIVE:\DIRECTORY is the name of the path
  40. ECHO             where Clarion 3.0 is installed
  41. ECHO *
  42. ECHO          For example if Clarion 3.0 is installed in C:\Clarion3
  43. ECHO          you would type P3004 C:\Clarion3
  44. ECHO *
  45. :EXIT
  46.