home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / progm / probat.zip / CUSTMENU.BAT < prev    next >
DOS Batch File  |  1989-03-09  |  1KB  |  38 lines

  1. echo off
  2. Cursor 20 1
  3.  
  4. REM The above line inverts the cursor - turning it off.
  5.  
  6. PBShow %1 Example.scr
  7.  
  8. REM The above line shows the screen applicable to the choice made.
  9.  
  10. Wait 2000
  11.  
  12. REM The above line makes the computer wait for 2000 milliseconds.
  13.  
  14. goto %1
  15.  
  16. :1
  17.  
  18.    REM You would place all of the necessary lines to access your WP here.
  19.  
  20.    goto DONE
  21.  
  22. REM One label for each possible choice in your menu should exist here.
  23. REM It is important though to have each labels last line to read "goto DONE"
  24. REM and then have a label named DONE. Or else the labels will execute, one
  25. REM after the other.
  26.  
  27. :DONE
  28.   Cursor 12 13
  29.  
  30.   REM The above line reinstates the cursor.
  31.  
  32.   REM You should have a 'CD' command here. One that will change to the
  33.   REM directory where "PBMenu.EXE" is stored.
  34.  
  35. REM Remember the laws of batch files recquire that you not call another
  36. REM batch file from within one, run-time of the original will terminate
  37. REM on that line.  All batch code must therefore be included withen this
  38. REM batch file.