home *** CD-ROM | disk | FTP | other *** search
/ HomeWare 14 / HOMEWARE14.bin / comms / icom0425.arj / HSLINK.BAT < prev    next >
DOS Batch File  |  1994-04-25  |  3KB  |  47 lines

  1. @Echo off
  2. Echo off
  3. rem  This is an example BAT for use in an Intellicomm external protocol
  4. rem  entry.  The file is set up for use with the HS/Link protocol, by Sam
  5. rem  Smith (it is Shareware, and is available on most BBS's).
  6. rem
  7. rem  Once installed, this batch may be used to call HS/Link to perform
  8. rem  automated bi-directional MAIL transfers with any mail system that
  9. rem  supports HS/Link.  Automated bi-directional FILE transfers are much
  10. rem  trickier due to having to enter each file's description after the
  11. rem  transfer, and thus Icom doesn't support AUTOMATED bi-directional FILE
  12. rem  transfers at present.  You may still use HS/Link for automated file
  13. rem  transfers, but not bi-directionally (bi-directional MANUAL file transfers
  14. rem  are supported, as with any comm. program).  Intellicomm does recognize
  15. rem  the HS/Link auto-download sequence, which means that the download will
  16. rem  start without your having to press PgDn and select the protocol!  But
  17. rem  this only works when this .BAT is installed on the protocol menu exactly
  18. rem  as outlined below.
  19. rem
  20. rem  To plug this BAT into Intellicomm, select "Intellicomm Setup" from the
  21. rem  main menu, pick "External Protocols" from the setup menu, then enter the
  22. rem  following information in one of the empty entries (it needn't be entry 1):
  23. rem
  24. rem │                                                           Ask for File  │
  25. rem │     Name/Description  Hotkey  Receive Cmd.    Send Cmd.   name on D/L?  │
  26. rem │                                                                         │
  27. rem │ 1.  HS/Link             H     HSLINK.BAT    HSLINK.BAT        No        │
  28. rem
  29. rem  For automated mail/file runs, all you must do is modify your BIF to use
  30. rem  HS/Link as the 'Send/Receive Mail/Files' protocols (BIF screen 1, protocol
  31. rem  section).  DO NOT add a "Send Replies" task with mail runs that use
  32. rem  HS/Link, or your transfers will not be bi-directional.  All you need is
  33. rem  a "Get all new mail" task, and if a reply packet exists Intellicomm
  34. rem  will make sure it gets sent WHILE your mail is being downloaded.
  35. rem
  36. rem  YOU MUST PRECEDE THE HSLINK COMMAND WITH THE PROPER PATHNAME if HSLINK.EXE
  37. rem  is not located on your PATH (e.g. C:\UTIL\HSLINK.EXE -B ...).  
  38. rem  Intellicomm will automatically CHDIR to either your Message/Reply or 
  39. rem  Upload/Download directory before calling this .BAT, so you needn't perform
  40. rem  a CHDIR here.
  41. rem
  42. rem  Further, you must NOT define a default download directory in the HSCONFIG
  43. rem  program, or HS/Link will override and your message packets will not be
  44. rem  placed in the proper directory!
  45. rem
  46. HSLINK.EXE -B%1 -P%2 %4 %5 %6 %7 %8 %9
  47.