home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / utils / automen.zip / DOS.MDF < prev    next >
Text File  |  1990-10-23  |  5KB  |  163 lines

  1. ...............................................................................
  2. .Automenu DOS Menu Example
  3. .By Marshall W. Magee
  4. .Updated last on 07/09/90
  5. ...............................................................................
  6. %AUTOMENU(R) Simple DOS Menu
  7. .................................................
  8. *Perform DOS Check Disk  (CHKDSK)
  9. ?Print information about disk
  10. >Enter Drive you wish to do a Check Disk of:
  11. >       For Example: Enter 'A:' to check drive A:
  12. >
  13. <
  14. >
  15. >Now Performing a CHECK DISK of Drive -> %1
  16. >
  17. >
  18. =CHKDSK %1
  19. .................................................
  20. *Print Directory Listing to Screen
  21. ?List filenames on Disk to the Console
  22. >Select Drive you wish to see the Directory of:
  23. <A:,C:,D:
  24. >
  25. >Select Directory command option:
  26. >
  27. >       /W      This option prints filenames across screen
  28. >       /P      This option will pause when screen fills
  29. >       /W/P    This option is a combination of the above two options
  30. >
  31. </W,/P,/W/P
  32. >
  33. >Now Listing Files on Drive -> %1 With Option -> %2
  34. =DIR %1%2
  35. .................................................
  36. *Execute ANY Valid DOS Command
  37. >Enter any DOS Command and Press Return (ESC to return to Menu)
  38. <
  39. >........... Now  Executing    >>  %1
  40. >
  41. >
  42. >
  43. =%1
  44. .................................................
  45. *Select a DOS Command
  46. ?Pick From A List Of DOS Commands to be Executed
  47. >Choose any of the DOS Commands below and Press Return (ESC to return to Menu)
  48. >
  49. <DIR,CD,PATH,CHKDSK,VER,SET,TIME,DATE
  50. >
  51. >.............Now  Executing    >>  %1
  52. =%1
  53. .................................................
  54. *Return to Main Menu
  55. ?Will Exit to Main Menu
  56. @automenu.MDF
  57. .................................................
  58. %AUTOMENU(R) Common DOS Functions
  59. .................................................
  60. *Copy a file to another disk drive
  61. ?Copy a file
  62. >Enter FILENAME to be copied  (Press ESC to Quit)
  63. >       For Example:    TEST.DAT
  64. >                       C:SAM.*
  65. <
  66. >Select which DRIVE to copy it to:
  67. <A:,B:,C:,D:
  68. >
  69. >Now copying file %1 TO %2
  70. -COPY %1 %2
  71. .................................................
  72. *Move a File to Another Disk Drive
  73. ?Move One or More Files
  74. >This option will copy files to a new location and erase old files
  75. >
  76. >
  77. >
  78. >Enter filespec to be moved  (Press ESC to Quit)
  79. >       For Example:    TEST.DAT  or C:TEST.DAT
  80. >                or:    *.DOC     or B:*.TXT
  81. >
  82. <
  83. >Select which DRIVE to move TO:
  84. <A:,B:,C:,D:,E:
  85. >
  86. >Now moving file(s)  %1 TO  %2
  87. !COPY %1 %2 > NUL
  88. !DEL %1
  89. .................................................
  90. *Delete a File
  91. ?Erase a file   (Password = "OK")
  92. ^OK
  93. >Enter Filename to be ERASED  (Press ESC to Quit)
  94. >       For Example:    TEST.DAT  or C:TEST.DAT
  95. >
  96. <
  97. +ERASE %1
  98. +ECHO FILE %1 Has Been Erased - To Return to Menu,
  99. +PAUSE
  100. +AUTO DOS.MDF
  101. .................................................
  102. *Rename a File
  103. ?Change the Name of a File
  104. >Enter OLD FILENAME to be Renamed  (Press ESC to Quit)
  105. >       For Example:    TEST.DAT  or D:TEST.DAT
  106. >
  107. <
  108. >Enter NEW Filename  -  Without Drive specified.
  109. >
  110. <
  111. +ECHO OFF
  112. +CLS
  113. +REN %1 %2 > NUL
  114. +ECHO Old File %1 Renamed to %2 
  115. +ECHO To Return to Menu,
  116. +PAUSE
  117. +AUTO DOS.MDF
  118. .................................................
  119. *Format a Floppy Diskette in Drive B: P/W = "BOB"
  120. ?Format disk in Drive B: using "FORMAT B:"
  121. ^BOB
  122. .FORMAT B:
  123. =ECHO FORMAT Example is disabled, Modify DOS.MDF to Activate
  124. .................................................
  125. *Format Boot Disk in Drive B: Password = "BOB"
  126. ?Format Disk in Drive B: Using "FORMAT B:/S/V"
  127. ^BOB
  128. .FORMAT B:/S/V
  129. =ECHO FORMAT Example is disabled, Modify DOS.MDF to Activate
  130. .................................................
  131. *Return to Main Menu
  132. ?Will Exit to the Main Menu
  133. @automenu.MDF
  134. .................................................
  135. %AUTOMENU(R) DOS Backup Menu
  136. .................................................
  137. *Format A Diskette in Drive A:
  138. ?Prepare a Disk in Drive A:
  139. =ECHO FORMAT Example is disabled, Modify DOS.MDF to Activate
  140. .FORMAT A:
  141. .................................................
  142. *Total Backup of Drive C:
  143. ?Perform a Complete Backup of ALL Files on Drive C:
  144. =ECHO Selection Disabled - EDIT DOS.MDF To Use This Function
  145. .BACKUP C:\ A: /S /A
  146. .The above command will backup all files on the C: Drive
  147. .to the floppy on A:, and will NOT erase any existing files
  148. .on A:.
  149. .AUTO
  150. .................................................
  151. *Update Backup for Files Changed on Drive C:
  152. ?Restores Files 
  153. =ECHO Selection Disabled - Edit DOS.MDF To Use This Function
  154. .BACKUP C:\ A:/S/M
  155. .AUTO
  156. .................................................
  157. *Return to Main Menu
  158. ?Will Exit to Main Menu
  159. @automenu.MDF
  160. .................................................
  161. #END OF DOS.MDF
  162. 
  163.