home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / UT / UT251.ZIP / PIE.BAT < prev    next >
DOS Batch File  |  1990-08-29  |  898b  |  23 lines

  1. echo    OFF
  2. rem     This batch demostrates the logo capability of IM
  3. rem    Please do not try to run this unless you have already configured
  4. rem      Inner Mission.
  5. rem
  6. rem    First we rename the old drawing file so it won't get gronked
  7. rename im.dwg tmp.dwg
  8. rem    Now we rename pie.dwg to im.dwg so IM will find it.
  9. rename pie.dwg im.dwg
  10. rem    Now we call Inner Mission, and ask it to read the font file
  11. IM -v0 -y1 -u0 < pie.txt
  12. rem     Pie.txt should just be the text of the user message.
  13. rem    The less-than character is a DOS pipe feature:  It sends the input to
  14. rem      Inner Mission from a file, rather than having to type in the
  15. rem      user message every time.
  16. rem
  17. rem    Now we must put the original im.dwg back to it's original name.
  18. rename    im.dwg pie.dwg
  19. rename    tmp.dwg im.dwg
  20. rem    Good!  Now the user message should be set up.
  21. echo    New message installed, pop-up the stars and hit the 'm' key
  22.  
  23.