home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / DESKTOP / PAL21.ZIP / PALDEMO.BAT < prev    next >
DOS Batch File  |  1990-07-09  |  4KB  |  123 lines

  1. ECHO OFF
  2. IF NOT EXIST PALDICK.APP GOTO GETFILES
  3. IF NOT EXIST PALJANE.APP GOTO GETFILES
  4. IF NOT EXIST PAL.EXE GOTO GETFILES
  5. IF NOT EXIST PAL.OVR GOTO GETFILES
  6.  
  7. :START
  8. CLS
  9. echo  
  10. echo       This batch file will demonstrate some of the features of
  11. echo  PAL.  We will first show a report of PALDICK.APP starting on January
  12. echo  1, 1985, for a period of five days.  You will note that Dick has
  13. echo  entered each of his appointments beginning with the string "D-".
  14. echo  This is to distinguish his appointments from Jane's when we
  15. echo  combine their appointments and report on them together.
  16. echo  
  17. echo       Note at the end of the report that Dick has an old reminder.
  18. echo  He was supposed to get an engagement ring for Jane yesterday.
  19. echo  
  20. echo  
  21. PAUSE
  22. PAL @ 5BHR PALDICK
  23. CLS
  24. echo  
  25. echo       We will now show Jane's appointments.  Note that it's a bit
  26. echo  difficult to see whether there are any conflicts with Dick's
  27. echo  appointments when we can't see both together.
  28. echo  
  29. echo  
  30. PAUSE
  31. PAL @ 5BHR PALJANE
  32. CLS
  33. echo  
  34. echo       This batch file will now combine the two separate
  35. echo  appointment files into a single file, then call on PAL to report
  36. echo  from the amalgamated file.  Note how PAL shows common appointments
  37. echo  and conflicting appointments.
  38. echo  
  39. echo       Query:  What chance does Dick have to get Jane to marry him?
  40. echo  
  41. echo  
  42. PAUSE
  43. COPY /B PALDICK.APP+PALJANE.APP DIKNJAN.APP
  44. PAL @ 5BHR DIKNJAN
  45. CLS
  46. echo  
  47. echo       Answer to previous question:  They'd better have a lot more
  48. echo  in common than political leanings and musical taste!
  49. echo  
  50. echo       We will now demonstrate the ability to search a file for a
  51. echo  particular string of characters.  You may remember that all of
  52. echo  Dick's appointments were preceded by the characters "D-" in order
  53. echo  to distinguish them from Jane's appointments in the DIKNJAN.APP
  54. echo  file.
  55. echo  
  56. echo  
  57. PAUSE
  58. PAL @ $B D- DIKNJAN
  59. erase diknjan.app
  60. CLS
  61. echo  
  62. echo       Now, let's take a look at something pretty sexy:  With
  63. echo  SideKick or PAL's own Appointment Scratchpad, you can now enter
  64. echo  an appointment that you need to see annually, and PAL will show
  65. echo  it to you forever (well, at least until you don't want to see it
  66. echo  anymore).  Let's take a peek at the annual appointment that Jane
  67. echo  has placed in her file, for the next 10 years starting from your
  68. echo  present system date.  Jane was born on February 29, 1960.
  69. echo  
  70. echo       There are innumerable other patterns of automatically
  71. echo  repeating appointments which you can set with PAL.  See online
  72. echo  help or the file PAL.DOC for details.
  73. echo  
  74. echo  
  75. PAUSE
  76. PAL 3650BH PALJANE
  77. CLS
  78. echo  
  79. echo       And now let's see the repeating appointments that Dick
  80. echo  has placed in his file.  Let's make PAL show us them
  81. echo  for a full year from today:  a monthly mortgage payment, a quarterly
  82. echo  tax payment, and a departmental meeting which convenes on the first
  83. echo  Monday of each month.
  84. echo  
  85. echo  
  86. PAUSE
  87. PAL 365BH PALDICK
  88. cls
  89. echo  
  90. echo       Now, let's silence the automatically repeating appointments
  91. echo  and instead see what holidays PAL can automatically show this
  92. echo  coming year.  The holidays displayed here are only some of those
  93. echo  which you can have PAL show you.  There are others which you can
  94. echo  set with PAL's clone procedure, and you can squelch the appearance
  95. echo  of those holidays in which you have no interest.
  96. echo  
  97. echo  
  98. PAUSE
  99. PAL 365BR PALDICK
  100. cls
  101. echo  
  102. echo       "Fun With Dick and Jane" has been brought to you by PAL
  103. echo  Software NY, Inc., creators of PAL, the Personal Appointment Locator.
  104. echo  
  105. echo       To obtain help on the features of PAL and how to
  106. echo  operate the program, go "PAL HELP" at the DOS command line.
  107. echo  
  108. echo       Please enjoy the program!
  109. echo  
  110. echo  
  111. echo  
  112. echo  Use Ctrl-Break to halt the demonstration, but if you
  113. echo  want to see it again then
  114. PAUSE
  115. GOTO START
  116. :GETFILES
  117. CLS
  118. echo   You need the files PALDICK.APP and PALJANE.APP, PAL.EXE and PAL.OVR
  119. echo   in order to run this demo.
  120. echo  
  121. GOTO ENDIT
  122. :ENDIT
  123.