home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / CO / CO011.ZIP / SAMPLE.BAT < prev    next >
DOS Batch File  |  1989-06-15  |  9KB  |  205 lines

  1. echo off
  2. rem SAMPLE.BAT demo batch file for Qanalyst v2.0 program.
  3. rem Copyright (c) 1989 by Barn Owl Software
  4. rem                       P.O. Box #74
  5. rem                       O'Fallon, IL 62269
  6. rem                  VOX: (618) 632-7345
  7. rem                  BBS: (618) 398-5703
  8. rem                  HST: (618) 398-2305
  9.  
  10. cls
  11. echo 
  12. echo Thank you for deciding to run the demo for the Qanalyst v2.0 program!
  13. echo Qanalyst is a Qmodem phone bill analyzer.  If you want to keep track of
  14. echo how much money you spend using Qmodem, this is the program for you.
  15. echo Qmodem can keep track of the BBSs you call in a special "log" file.
  16. echo Qanalyst reads Qmodem log files to determine how much you've spent on
  17. echo Qmodem-related calls.  It's that simple.
  18. echo 
  19. echo Qanalyst is a full-blown menu driven application.  This demo will touch
  20. echo on some of its "batch mode" capabilities and will give you a small idea
  21. echo of what the program can do for you.
  22. echo 
  23. echo The SAMPLE.LG* files are actual Qmodem log files from which we'll create
  24. echo a few reports.  These log files contain different types of calls, file
  25. echo transfers ── even some problems that are flagged in Qanalyst reports.
  26. echo SAMPLE.PRF, a phone-rate data file, provides sample phone call costing
  27. echo details so reports can show realistic $$$ figures.
  28. echo 
  29. echo PLEASE make sure your printer is turned on at this time.  This demo will
  30. echo require 6 sheets of paper total.  You can stop this batch file at any
  31. echo time by pressing CTRL-C.  You can also stop Qanalyst by pressing CTRL-C.
  32. echo 
  33. echo Press CTRL-C to stop this demo, or
  34. pause
  35.  
  36. cls
  37. echo 
  38. echo Thanx for deciding to continue the Qanalyst demo!  First, we're going
  39. echo to go over one of Qanalyst's most powerful capabilities: "Last call"
  40. echo analysis.  We're going to find out what happened during the last call
  41. echo we made in Qmodem.
  42. echo 
  43. echo We're going to say "QANALYST SAMPLE.CF1 /BL" at the DOS prompt.  This
  44. echo will tell Qanalyst to automatically generate a report based on the last
  45. echo call we made in Qmodem.  (SAMPLE.CF1 is a Qanalyst configuration file.)
  46. echo 
  47. echo This report takes 2 pages of paper.
  48. echo The 1st page is a summary report.
  49. echo The 2nd page is a detailed report.
  50. echo Press CTRL-C to stop this demo, or
  51. pause
  52. echo 
  53. echo QANALYST SAMPLE.CF1 /BL
  54. echo 
  55. QANALYST SAMPLE.CF1 /BL
  56. echo 
  57. echo 
  58. pause
  59.  
  60. cls
  61. echo 
  62. echo As you can see from the report we just printed, Qanalyst found that the
  63. echo last call was made to "Farpoint Station", a local call.  You could use
  64. echo this function to take a quick look at the money you spent on any given
  65. echo call as soon as you hang up.  You can do it from within Qmodem itself if
  66. echo you set up a SCRipt file.  The information you need is in QANALYST.DOC,
  67. echo appendix sections C.2 and C.5.
  68. echo 
  69. echo It really didn't cost us anything to make that very last call, did it?
  70. echo Let's look instead at the last call we made specifically to the Forbin
  71. echo Project BBS.  It wasn't the very last call we made but that won't matter
  72. echo to Qanalyst.
  73. echo 
  74. echo We're going to say "QANALYST SAMPLE.CF1 /BL /BS1-319-233-6157" at the
  75. echo DOS prompt.  This will tell Qanalyst to automatically generate a report
  76. echo based on the last call we made to Qmodem's home BBS.  (SAMPLE.CF1 is a
  77. echo Qanalyst configuration file.)
  78. echo 
  79. echo This report takes 2 pages of paper.
  80. echo The 1st page is a summary report.
  81. echo The 2nd page is a detailed report.
  82. echo Press CTRL-C to stop this demo, or
  83. pause
  84. echo 
  85. echo QANALYST SAMPLE.CF1 /BL /BS1-319-233-6157
  86. echo 
  87. QANALYST SAMPLE.CF1 /BL /BS1-319-233-6157
  88. echo 
  89. echo 
  90. pause
  91.  
  92. cls
  93. echo 
  94. echo This new report shows only on the last call we made to Forbin Project
  95. echo BBS.  This includes a report on the file we uploaded to the board.  We
  96. echo could just have easily reported on ALL calls to Forbin Project if we'd
  97. echo dropped the /BL option from the DOS command line.
  98. echo 
  99. echo Look carefully near the top of the first page of both reports.  You'll
  100. echo see a WARNING message just below the name of the Qmodem log file.  It
  101. echo tells us there is at least one "Manual Dial" entry in the log file, and
  102. echo that can be bad news.  You should AVOID Qmodem's manual dialing if you
  103. echo can.  Qanalyst mishandles manually dialed numbers in many cases and all
  104. echo reports are flagged whenever they are discovered in a log file.  This
  105. echo and other Qmodem/Qanalyst incompatibilities are described in appendix
  106. echo section D.2 of the QANALYST.DOC file.
  107. echo 
  108. pause
  109.  
  110. cls
  111. echo 
  112. echo The next thing we're going to do is report on all the calls we've made
  113. echo to CompuServe, a nationwide network that charges us by the minute each
  114. echo time we call them.  CompuServe will charge us in addition to any phone
  115. echo bills we might rack up.  We're going to say "QANALYST SAMPLE.CF2 /B" at
  116. echo the DOS prompt to get a report on our CompuServe calls.  (SAMPLE.CF2 is
  117. echo a Qanalyst configuration file.)
  118. echo 
  119. echo This report takes 2 pages of paper.
  120. echo The 1st page is a summary report.
  121. echo The 2nd page is a detailed report.
  122. echo Press CTRL-C to stop this demo, or
  123. pause
  124. echo 
  125. echo QANALYST SAMPLE.CF2 /B
  126. echo 
  127. QANALYST SAMPLE.CF2 /B
  128. echo 
  129. echo 
  130. pause
  131.  
  132. cls
  133. echo 
  134. echo Okay, look closely at page #2 of the CompuServe report.  TESTER.UPL is
  135. echo listed as the second file we uploaded.  Notice how the report explains
  136. echo that CompuServe suspended its service charges during the upload?  We
  137. echo still paid 16¢ for the cost of the phone call while we were uploading,
  138. echo but Qanalyst didn't add in any CompuServe charges!
  139. echo 
  140. echo Most charge-for-use networks like CompuServe and GEnie suspend their
  141. echo service charges during uploads.  Qanalyst v2.0 can recognize this and
  142. echo will compensate for it.  The result is an accurate phone bill report.
  143. echo 
  144. pause
  145.  
  146. cls
  147. echo 
  148. echo The next thing we're going to do is to "condense" the Qmodem log files
  149. echo so they contain only vital information.  Qanalyst removes unnecessary
  150. echo entries from the log file to make it compact.  Typical first-time
  151. echo reduction is 70%% or better if you're willing to get rid of the upload/
  152. echo download information.  We're going to do just that.
  153. echo 
  154. echo We're going to say "QANALYST SAMPLE.CF3 /B" at the DOS prompt to tell
  155. echo Qanalyst to automatically condense our log files.  We could just have
  156. echo easily done it while we analyzed calls in the previous two examples.
  157. echo (SAMPLE.CF3 is a Qanalyst configuration file.)
  158. echo 
  159. echo This condensing requires NO paper.
  160. echo Press CTRL-C to stop this demo, or
  161. pause
  162. echo 
  163. echo QANALYST SAMPLE.CF3 /B
  164. echo 
  165. QANALYST SAMPLE.CF3 /B
  166. echo 
  167. echo 
  168. pause
  169.  
  170. cls
  171. echo 
  172. echo Notice how we achieved a 68%% reduction on the first log file and a 71%%
  173. echo reduction on the second log file?  That's a common first-time reduction
  174. echo when you choose to remove upload/download entries.  It saves disk space
  175. echo but some people like to keep file transfer information.  You can choose
  176. echo which is best for you.
  177. echo 
  178. echo You could also choose to "delete" entries over a specified time period.
  179. echo Calls placed during those days would be totally removed from the log
  180. echo file(s).  This can be a useful way to reduce the size of your logs after
  181. echo generating reports on them.
  182. echo 
  183. echo Qanalyst is powerful enough to let you condense/delete log file entries
  184. echo for one period and report on calls for another period.  You could even
  185. echo report/condense/delete calls over non-contiguous periods if you needed.
  186. echo It's not hard at all when you use Qanalyst!
  187. echo 
  188. echo 
  189. pause
  190.  
  191. cls
  192. echo 
  193. echo We encourage you to use the sample files to generate some reports of your
  194. echo own.  If you use Qanalyst v1.0, you can start up this new version with
  195. echo your old configuration & phone-rate files and play with those.  Feel free
  196. echo to play around with Qanalyst and get a feel of how it works!
  197. echo 
  198. echo That concludes the minor demonstration of what Qanalyst v2.0 can do for
  199. echo you.  Some people have little need to keep an eye on their modem phone
  200. echo bills and you may very well be one of them.  Not every program is useful
  201. echo to every person.  BUT, some people need to know what they're spending on
  202. echo Qmodem calls and some people need to keep track of files they upload &
  203. echo download.  That's where Qanalyst comes in.  It is THE Qmodem phone bill
  204. echo analyzer!
  205.