home *** CD-ROM | disk | FTP | other *** search
/ Big Blue Disk 10 / bbd10new.zip / AUTOMENU.MDF < prev    next >
Text File  |  1984-07-19  |  5KB  |  156 lines

  1. ...         ..................................................
  2. .Automenu Menu Definition File
  3. .By Marshall W. Magee
  4. .Update last on 5/5/87
  5. ..............................................................
  6. %Automenu(tm) Application Menu
  7. .................................................
  8. *Automenu Menu Building Facility
  9. ?This program helps build Menu Definition Files
  10. +AUTOMAKE
  11. +AUTO
  12. .................................................
  13. *Basic
  14. ?Run BASIC directly
  15. -basica
  16. .................................................
  17. *Check Disk
  18. ?Print information about disk
  19. >Select Drive you wish to do a Check Disk of:
  20. <A:,B:,C:,D:
  21. >
  22. >Now performing a check disk of drive -> %1
  23. =CHKDSK %1
  24. .................................................
  25. *Print Directory to Screen
  26. ?List filenames on disk
  27. >Select Drive you wish to see the Directory of:
  28. <A:,C:,D:,A:\PUBLIC
  29. >
  30. >Select directory command option:
  31. >
  32. >      /W     This option prints filenames across screen
  33. >      /P     This option will pause when screen fills
  34. >      /W/P   This option is a combination of the above two options
  35. >
  36. </W,/P,/W/P
  37. >
  38. >Now listing files on drive -> %1 with option -> %2
  39. >
  40. >Total command syntax looks like this ->DIR %1%2
  41. =DIR %1%2
  42. .................................................
  43. *Execute any DOS Command
  44. >Enter any valid DOS Command and Press Return (ESC to return to Menu)
  45. <
  46. >...Now Executing >> %1
  47. =%1
  48. .................................................
  49. *DOS Command Menu
  50. @DOS.MDF
  51. .................................................
  52. *Disk Operating System
  53. ?Return to Disk Operating System
  54. >┌─────────────────────┐
  55. >│▓▒░░░░  D O S  ░░░░▒▓│
  56. >├─────────────────────┤
  57. >│   Enter » AUTO «    │
  58. >│to return to the Menu│
  59. >└─────────────────────┘
  60. >
  61. +ECHO ON
  62. ...Remove this menu option when you install the program.
  63. *BIG BLUE DISK
  64. ?Use this option to return to BIG BLUE DISK
  65. >Returning to BIG BLUE DISK
  66. +go
  67. .
  68. .
  69. .------------------------------
  70. .    Define another sub-menu
  71. .------------------------------
  72. .................................................
  73. %More Examples
  74. .................................................
  75. *Printer Menu
  76. ?Menu of selections that send print control to PRN:
  77. @PRINTER.MDF
  78. *Multiple password example
  79. ?Perform Directory if password = A or IBM or TEST
  80. ^A
  81. ^IBM
  82. ^TEST
  83. >Select Drive you wish to see the Directory of:
  84. <A:,B:,C:,D:,A:\PUBLIC
  85. >
  86. >Now listing files on drive -> %1
  87. >
  88. =DIR %1/P
  89. .................................................
  90. *Multiple input and parameter passing example
  91. >This option demonstates the capability to prompt the user for eight inputs
  92. >and therefore could pass this information in the form of DOS variables.
  93. >
  94. >This example will print the variable information at end.
  95. >
  96. >
  97. >
  98. >Input for DOS parameter 1     (Dynamic)
  99. <
  100. >Input for DOS parameter 2     (Dynamic)
  101. <
  102. >Input for DOS parameter 3     (Static)
  103. <A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
  104. >Input for DOS parameter 4     (Static)
  105. <A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
  106. >Input for DOS parameter 5     (Static)
  107. <A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
  108. >Input for DOS parameter 6     (Static)
  109. <A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
  110. >Input for DOS parameter 7     (Static)
  111. <A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
  112. >Input for DOS parameter 8     (Dynamic)
  113. <
  114. >Now Automenu will print the parameters
  115. =ECHO %1 %2 %3%4%5%6%7 %8
  116. .................................................
  117. *Build a menu with a Time Execution of an option
  118. ?Build an example of Time Execution
  119. >This option will build a Menu Definition File with the time you wish the option
  120. >to be executed. Enter the filename first and then the time. After which select
  121. >the next option in this menu and enter the same filename to load this new menu.
  122. >This new menu will have an example menu option executed at the time entered.
  123. >
  124. >
  125. >
  126. >
  127. >Enter Filename for Menu Definition File  (Press ESC to Quit)
  128. >   For Example:  TIME.MDF
  129. >
  130. <
  131. >Enter Time in military format
  132. >   For Example:  Enter  09:00  for   9:00am
  133. >                 Enter  23:14  for  11:14pm
  134. >
  135. <
  136. >....Now building file %1 with Time Execution example at %2
  137. !ECHO %%Time Execution Example Menu> %1
  138. !ECHO *Directory>> %1
  139. !ECHO ?This menu option will be executed at %2>> %1
  140. !ECHO [%2>> %1
  141. !ECHO -DIR>> %1
  142. !ECHO *Return to main menu>> %1
  143. !ECHO @AUTOMENU.MDF>> %1
  144. !ECHO #END>> %1
  145. .Put a end-of-file character on the end of MDF using copy
  146. !COPY %1+NUL:/A >NUL
  147. .................................................
  148. *Change to another Menu Definition File
  149. ?Load another Menu Definition file with new choices
  150. >Enter Filename for Menu Definition File  (Press ESC to Quit)
  151. >   For Example:  TIME.MDF
  152. >
  153. <
  154. @%1
  155. #END OF AUTOMENU.MDF
  156.