home *** CD-ROM | disk | FTP | other *** search
/ Best Objectech Shareware Selections / UNTITLED.iso / boss / comm / misc / 005 / hsmail.bat < prev    next >
Encoding:
DOS Batch File  |  1992-01-18  |  3.4 KB  |  56 lines

  1. Echo off
  2. rem  This is an example BAT for Intellicomm auto-mail transfers using the
  3. rem  HS/Link protocol by Sam Smith (available on BBS's as Shareware).  This
  4. rem  batch ALSO contains instructions on how to set up Intellicomm for mail
  5. rem  runs with HS/Link, so please read on.  The batch has been customized for
  6. rem  use in Intellicomm MAIL runs, and it should not be renamed or otherwise
  7. rem  modified, if you want it to work properly.
  8. rem
  9. rem  AUTOMATED uploads/downloads are currently only supported bi-directionally
  10. rem  for message transfers (i.e. systems that send a message 'packet' and
  11. rem  expect you to send a reply packet... any mail system that supports HS/Link
  12. rem  should work fine).
  13. rem
  14. rem  NOTICE: You may experience problems with UNREGISTERED copies of HS/Link,
  15. rem  since the Shareware screen delays return to Intellicomm, and can cause
  16. rem  important prompts (successful up/download) from the BBS to be missed.
  17. rem  This causes Intellicomm to think that the transfer was unsuccessful, and
  18. rem  it will thus attempt another download (2 D/L max).  If you experience
  19. rem  this, give The Tool Shop a call (see HS/Link docs) and pay for your copy
  20. rem  of HS/Link... there's no other way around it.  You can be rid of Shareware
  21. rem  delay the next day after you place your order.
  22. rem
  23. rem  FIRST: to plug this BAT into Intellicomm, run Intellicomm's SETUP.EXE,
  24. rem  press 'S' to move to the 'Screen/File Transfer' screen, press UP to move
  25. rem  to the 'External Protocols' item, then enter the following information
  26. rem  in one of the empty entries (it needn't be entry 1):
  27. rem │                                                           Ask for File  │
  28. rem │     Name/Description  Hotkey  Receive Cmd.    Send Cmd.   name on D/L?  │
  29. rem │                                                                         │
  30. rem │ 1.  HS/Link-MAIL        S     HSMAIL.BAT    HSLINK.BAT        No        │
  31. rem
  32. rem  For automated mail runs, all you must do is modify your BIF to use
  33. rem  HS/Link-MAIL as the 'Send/Receive Mail' protocols (BIF screen 1, protocol
  34. rem  section).  Notice above that HSMAIL.BAT is used to receive, while HSLINK.
  35. rem  BAT is used to send.  This IS how it should be set up.
  36. rem  If the BBS/mail system prompts you to select a protocol from its menu you
  37. rem  should also enter the proper BBS Letter so Intellicomm can select HS/Link
  38. rem  from the BBS protocol menu.  As always, you must pick the proper "Message
  39. rem  Type" and set the proper "Access Msg Menu" commands and packet names...
  40. rem  See EXAMPLES.DOC for a quick tutorial on setting up for automated mail
  41. rem  runs, if you've never done it.  Next, modify or create a Job that performs
  42. rem  a message download -- and DO NOT add a "Send Replies" task since use of
  43. rem  HSMAIL.BAT on a download will automatically cause a bi-directional
  44. rem  transfer, if the reply packet exists.
  45. rem
  46. rem  !NOTE!:  If you rename HSMAIL.BAT, Icom -will- screw up when it calls
  47. rem  HS/Link during automated mail runs.  Icom checks the Receive Cmd. item
  48. rem  specifically for HSMAIL.BAT, and behaves differently if found (i.e. it
  49. rem  sends your Message Dir and the proper -reply- filename on the command line
  50. rem  rather than sending the message filename as with other protocols).
  51. rem
  52. rem  YOU MUST PRECEDE THE HSLINK COMMAND WITH THE PROPER PATHNAME if HSLINK.EXE
  53. rem  is not located on your PATH (e.g. C:\UTIL\HSLINK.EXE -B ...).
  54. rem
  55. HSLINK.EXE -B%1 -P%2 -U%4 %5 %6 %7 %8 %9
  56.