home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 11 / 11.iso / m / m271_3 / 1.ddi / HJ1.ZIP / MAKEMAC.BAT < prev    next >
Encoding:
DOS Batch File  |  1988-03-01  |  2.4 KB  |  58 lines

  1. echo off
  2. if s==%1s goto HELP
  3. cls
  4. echo ╔═════════════════════════════════════════════════════════════╗
  5. echo ║                   MAKEMAC                                   ║
  6. echo ║                                                             ║
  7. echo ║   Automatic Processing of INSET PIX file to Resized and     ║
  8. echo ║   Grayscaled to MacPaint                                    ║
  9. echo ╚═════════════════════════════════════════════════════════════╝
  10. if not exist %1.pix goto ERR_FIND
  11. echo [%1]
  12. autoin odljet;b1miei1.96;75;^^^
  13. if errorlevel 1 goto IN_ERROR
  14. echo Gray/Size Processing ...
  15. autoin omf%1.hpc;pgos^^^
  16. if errorlevel 1 goto IN_ERROR
  17. echo Now converting to MAC
  18. convert %1.hpc *.mac
  19. if errorlevel 1 goto ERR_CVT
  20. del %1.hpc
  21. dir %1.mac
  22. goto END
  23. :ERR_CVT
  24. echo MAKEMAC processing Error!
  25. echo Possible problems:
  26. echo    GNT file not set to ASCII in InSet SETUP.COM
  27. echo    LJET.PRD file not in InSet directory
  28. echo    Path Name to file not used (or InSet PIX directory not NONE)
  29. echo    insufficient disk space
  30. pause
  31. goto  Help
  32. :ERR_FIND
  33. Echo Can't find %1.PIX
  34. goto END
  35. :IN_ERROR
  36. echo MAKEMAC processing Error!
  37. echo InSet not loaded
  38. :HELP
  39. echo ╔═════════════════════════════════════════════════════════════╗
  40. echo ║                   MAKEMAC                                   ║
  41. echo ║   Automatic Processing of INSET PIX file to Resized and     ║
  42. echo ║   Grayscaled to MacPaint                                    ║
  43. echo ║                                                             ║
  44. echo ║   MAKEMAC  path\infile                                      ║
  45. echo ║   Example: To Convert TEST.PIX in the root directy on the   ║
  46. echo ║            C drive to a Grayscaled and resized MAC Screen   ║
  47. echo ║                                                             ║
  48. echo ║          MAKEMAC c:\TEST                                    ║
  49. echo ║                                                             ║
  50. echo ║    Requirements:                                            ║
  51. echo ║        o InSet must be loaded in memory with the GNT file   ║
  52. echo ║          set to ASCII in SETUP.COM and the LJET.PRD file    ║
  53. echo ║          in the InSet directory                             ║
  54. echo ║        o AUTOIN.COM and CONVERT.EXE must be in the directory║
  55. echo ║          or path when you run MAKEMAC                       ║
  56. echo ╚═════════════════════════════════════════════════════════════╝
  57. :END
  58.