home *** CD-ROM | disk | FTP | other *** search
/ Software Du Jour / SoftwareDuJour.iso / COMPUTER / UTILITY / AUTO401.ARC / AUTOMENU.MDF < prev    next >
Encoding:
Text File  |  1987-05-15  |  4.5 KB  |  150 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. .
  63. .------------------------------
  64. .    Define another sub-menu
  65. .------------------------------
  66. .................................................
  67. %More Examples
  68. .................................................
  69. *Printer Menu
  70. ?Menu of selections that send print control to PRN:
  71. @PRINTER.MDF
  72. *Multiple password example
  73. ?Perform Directory if password = A or IBM or TEST
  74. ^A
  75. ^IBM
  76. ^TEST
  77. >Select Drive you wish to see the Directory of:
  78. <A:,B:,C:,D:,A:\PUBLIC
  79. >
  80. >Now listing files on drive -> %1
  81. >
  82. =DIR %1/P
  83. .................................................
  84. *Multiple input and parameter passing example
  85. >This option demonstates the capability to prompt the user for eight inputs
  86. >and therefore could pass this information in the form of DOS variables.
  87. >
  88. >This example will print the variable information at end.
  89. >
  90. >
  91. >
  92. >Input for DOS parameter 1     (Dynamic)
  93. <
  94. >Input for DOS parameter 2     (Dynamic)
  95. <
  96. >Input for DOS parameter 3     (Static)
  97. <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
  98. >Input for DOS parameter 4     (Static)
  99. <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
  100. >Input for DOS parameter 5     (Static)
  101. <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
  102. >Input for DOS parameter 6     (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 7     (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 8     (Dynamic)
  107. <
  108. >Now Automenu will print the parameters
  109. =ECHO %1 %2 %3%4%5%6%7 %8
  110. .................................................
  111. *Build a menu with a Time Execution of an option
  112. ?Build an example of Time Execution
  113. >This option will build a Menu Definition File with the time you wish the option
  114. >to be executed. Enter the filename first and then the time. After which select
  115. >the next option in this menu and enter the same filename to load this new menu.
  116. >This new menu will have an example menu option executed at the time entered.
  117. >
  118. >
  119. >
  120. >
  121. >Enter Filename for Menu Definition File  (Press ESC to Quit)
  122. >   For Example:  TIME.MDF
  123. >
  124. <
  125. >Enter Time in military format
  126. >   For Example:  Enter  09:00  for   9:00am
  127. >                 Enter  23:14  for  11:14pm
  128. >
  129. <
  130. >....Now building file %1 with Time Execution example at %2
  131. !ECHO %%Time Execution Example Menu> %1
  132. !ECHO *Directory>> %1
  133. !ECHO ?This menu option will be executed at %2>> %1
  134. !ECHO [%2>> %1
  135. !ECHO -DIR>> %1
  136. !ECHO *Return to main menu>> %1
  137. !ECHO @AUTOMENU.MDF>> %1
  138. !ECHO #END>> %1
  139. .Put a end-of-file character on the end of MDF using copy
  140. !COPY %1+NUL:/A >NUL
  141. .................................................
  142. *Change to another Menu Definition File
  143. ?Load another Menu Definition file with new choices
  144. >Enter Filename for Menu Definition File  (Press ESC to Quit)
  145. >   For Example:  TIME.MDF
  146. >
  147. <
  148. @%1
  149. #END OF AUTOMENU.MDF
  150.