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

  1. .NEW AUTOMENU MENU DEFINITION FILE
  2. .CREATED BY AUTOMAKE FOR AUTOMENU
  3. .BY MARSHALL MAGEE
  4. ................................................
  5. .Last Updated On 07/09/90
  6. ................................................
  7. %AUTOMENU(R)  DOS Functions Menu
  8. *Test For a Subdirectory
  9. ?Check for the Existence of a Subdirectory
  10. >Please input the NAME of the Subdirectory
  11. >you wish to test the existence of and then
  12. >press Return.
  13. >
  14. >
  15. >For example, to test for \AUTOMENU, type
  16. >just "AUTOMENU" (no quotes) and press Return.
  17. >
  18. >Press ESCape to exit to Menu.
  19. >
  20. <
  21. +echo off
  22. +cls
  23. +cd\
  24. +if exist %1\a goto EXIST
  25. +echo test > %1\a
  26. +cls
  27. +if exist %1\a goto EXIST2
  28. +echo **********************
  29. +echo *  Sorry, Subdirectory
  30. +echo *  \%1
  31. +echo *  does NOT Exist !
  32. +echo **********************
  33. +goto DONE
  34. +:EXIST2
  35. +del %1\a
  36. +:EXIST
  37. +echo *********************
  38. +echo *  Yes!  Subdirectory
  39. +echo *  \%1
  40. +echo *  Already Exists!
  41. +echo *********************
  42. +:DONE
  43. +echo Test Complete - To Return to AUTOMENU,
  44. +pause
  45. +auto batch.mdf
  46. *Make Log Entry
  47. ?Enter Date and Time Stamp Into REPORTS.LOG
  48. >Please Enter Your Name on the Line Below
  49. >
  50. >
  51. >
  52. <
  53. +echo off
  54. +cls
  55. +echo Now Making Entry Into REPORTS.LOG for %1
  56. +echo .
  57. +echo .
  58. +echo .
  59. +echo .>>REPORTS.LOG
  60. +echo Log Entry Made By %1>>REPORTS.LOG
  61. +date < crlf.inp >>REPORTS.LOG
  62. +time < crlf.inp >>REPORTS.LOG
  63. +echo .>>REPORTS.LOG
  64. +echo .
  65. +echo .
  66. +echo Entry Made For %1 - Press a Key to Return to Menu
  67. +pause
  68. +auto batch.mdf
  69. *Read Log Entries
  70. ?Display Log Entries on Screen
  71. =type REPORTS.LOG | more
  72. *Delete Log File
  73. ?Erase All Report Log Files - Use Password
  74. ^password
  75. +echo Now Deleting All .LOG Files . . . . .
  76. +echo .
  77. +echo .
  78. +del reports.log > nul
  79. +echo .
  80. +echo Files Deleted - To Return to AUTOMENU,
  81. +pause
  82. +auto batch.mdf
  83. *Return to Main Menu
  84. @AUTOMENU.MDF
  85. *Exit to Disk Operating System
  86. ?Return to DOS
  87. +ECHO ┌────────────────────────────────┐
  88. +ECHO │░░░▓▓▓▒  Exiting to DOS  ▒▓▓▓░░░│
  89. +ECHO ├────────────────────────────────┤
  90. +ECHO ├────────────────────────────────┤
  91. +ECHO │ Please  Enter  »»»  AUTO  «««  │
  92. +ECHO │    To  Return  to  Automenu    │
  93. +ECHO ├────────────────────────────────┤
  94. +ECHO └────────────────────────────────┘
  95. #End of BATCH.MDF Menu Definition File
  96. 
  97.