home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / blue2sal.zip / CHECK.CMD < prev    next >
OS/2 REXX Batch file  |  1994-03-03  |  2KB  |  34 lines

  1. @echo off
  2. cls
  3. echo **************************************************************************
  4. echo * This CMD file will indicate which level of OS/2 is currently installed.*
  5. echo * It executes SYSLEVEL and then looks for the Type field.                *
  6. echo * Please be sure that it shows the Version as 2.10.                      *
  7. echo * You will need the Type information to determine if you have a mismatch.*
  8. echo **************************************************************************
  9.  
  10. REM * Run SYSLEVEL and create an output file
  11.  
  12. syslevel >ccp
  13.  
  14. REM * Run FIND filter to determine version and which package is installed
  15.  
  16. find "Version 2.10" ccp
  17. find  "Type" ccp
  18.  
  19. echo *************************************************************************
  20. echo * If Type = 0, then this is the original Shrinkwrap (blue) package.     *
  21. echo * If Type = P, then this is the original Preload (blue) package.        *
  22. echo * For these cases, use the following files:                             *
  23. echo *   BLU2SAL3.CMD is for 3.5 diskettes.                                  *
  24. echo *   BLU2SAL5.CMD is for 5.25 diskettes.                                 *
  25. echo *                                                                       *
  26. echo * If Type = 0-2, then this is the reduced Shrinkwrap (salmon) package.  *
  27. echo * If Type = P-2, then this is the reduced Preload (salmon) package.     *
  28. echo * For these cases, use the following files:                             *
  29. echo *   SAL2BLU3.CMD is for 3.5 diskettes.                                  *
  30. echo *   SAL2BLU5.CMD is for 5.25 diskettes.                                 *
  31. echo *                                                                       *
  32. echo *************************************************************************
  33. del ccp
  34.