home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 1995 December / SOFM_Dec1995.bin / pc / os2 / vpascal / source / tv / tv700701.cmd < prev    next >
OS/2 REXX Batch file  |  1995-10-31  |  1KB  |  36 lines

  1. @ECHO OFF
  2. REM *******************************************************
  3. REM * Updates Borland Pascal 7.0 Turbo Vision 2.0 sources *
  4. REM *******************************************************
  5.  
  6. IF "%1" == "/?" GOTO HELP
  7. IF "%1" == "-?" GOTO HELP
  8. IF "%1" == "" GOTO HELP
  9.  
  10. IF EXIST "TV700701.PAT" GOTO RUN
  11. ECHO **Error** Change to the \VP\SOURCE\TV directory and run TV4VP again.
  12. GOTO EXIT
  13.  
  14. :RUN
  15. \VP\BIN\VPPATCH TV700701.PAT %1 %2
  16. GOTO EXIT
  17.  
  18. :HELP
  19. ECHO Turbo Vision patch: BP 7.00 to BP 7.01
  20. ECHO This patch reflects the changes made in the Borland Pascal 7.01.
  21. ECHO 6 source files are affected.
  22. ECHO Syntax:
  23. ECHO   TV700701 SourceDirectory DestinationDirectory
  24. ECHO where
  25. ECHO   SourceDirectory is a directory with Turbo Vision source files
  26. ECHO   DestinationDirectory is a directory to hold 6 updated source files
  27. ECHO NOTES:
  28. ECHO 1) All Turbo Vision sources should be located in one directory.
  29. ECHO    Copy OBJECTS.PAS and VALIDATE.PAS from ...\COMMON to ...\TV
  30. ECHO    directory.
  31. ECHO 2) To apply TV4VP patch to obtain 32-bit Turbo Vision for Virtual
  32. ECHO    Pascal you should overwrite 6 old Turbo Vision source files with
  33. ECHO    new ones, produced by this patch.
  34.  
  35. :EXIT
  36.