home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / UT / UT126.ZIP / BMENU54.ZIP / EXAMPLE3.BAT < prev    next >
DOS Batch File  |  1990-09-17  |  999b  |  65 lines

  1. echo off
  2. REM
  3. REM  Example batch file for BMENU 5.0 using itself as the '@file' input
  4. REM
  5. echo Batch example, with this batch file as the @file and default colors...
  6. echo 
  7. echo usage: bmenu @example3.bat default
  8. echo 
  9. bmenu @example3.bat default
  10. for %%1 in (0 1 2 3 4 5 6) do if errorlevel %%1 goto %%1
  11. :6
  12. echo You chose ZIP-to-LZH
  13. goto done
  14. :5
  15. echo You chose PAK-to-LZH
  16. goto done
  17. :4
  18. echo you chose ARC-to-LZH
  19. goto done
  20. :3
  21. echo you chose PAK-to-ZIP
  22. goto done
  23. :2
  24. echo you chose ARC-to-PAK
  25. goto done
  26. :1
  27. echo You chose ARC-to-ZIP
  28. goto done
  29. :0
  30. echo User hit ESC
  31. goto done
  32. ;
  33. ; Default color menu
  34. ;
  35. $default
  36. ;
  37. 10 
  38. 30 
  39.    Archive Tools  
  40.      ARC-to-ZIP   
  41.      ARC-to-PAK 
  42.      PAK-to-ZIP 
  43.      ARC-to-LZH 
  44.      PAK-to-LZH 
  45.      ZIP-to-LZH 
  46. ;
  47. ; User defined color menu
  48. ;
  49. $defined
  50. ;
  51. 10 
  52. 30 
  53. -5
  54. 4
  55. 124
  56.    Archive Tools   
  57.      ARC-to-ZIP   
  58.      ARC-to-PAK 
  59.      PAK-to-ZIP 
  60.      ARC-to-LZH 
  61.      PAK-to-LZH 
  62.      ZIP-to-LZH 
  63. $end_menu
  64. :done
  65.