home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / packer / ultracom / u2_show.bat < prev    next >
DOS Batch File  |  1993-12-31  |  946b  |  56 lines

  1. @echo off
  2. echo off
  3. rem (C) Copyright 1993, Ad Infinitum Programs, all rights reserved
  4.  
  5. rem This batch file is called by UC to play/show the multimedia banners.
  6. rem If you prefer to use other software, you can modify this batch file.
  7.  
  8.  
  9.    rem Test if MOD banner is present
  10.  
  11.       if not exist u$~ban.mod goto nomod
  12.  
  13.    rem Play MOD music file using MODPLAY
  14.  
  15.       mp u$~ban.mod
  16.  
  17.  
  18. :nomod
  19.    rem Test if GIF banner is present
  20.  
  21.       if not exist u$~ban.gif goto nogif
  22.  
  23.    rem View GIF using VPIC
  24.  
  25.       vpic u$~ban.gif
  26.  
  27.  
  28. :nogif
  29.    rem Test if JPG banner is present
  30.  
  31.       if not exist u$~ban.jpg goto nojpg
  32.  
  33.    rem View JPG using FullView
  34.  
  35.       fv u$~ban.jpg
  36.  
  37.  
  38. :nojpg
  39.    rem Test if TXT banner is present
  40.  
  41.       if not exist u$~ban.txt goto notxt
  42.  
  43.    rem View TXT using DOS TYPE
  44.  
  45.       type u$~ban.txt
  46.  
  47.       goto end
  48.  
  49.  
  50. :notxt
  51.    rem Clear screen if no TXT banner was present
  52.  
  53.       cls
  54.  
  55. :end
  56.