home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / zmodem / zcommexe.zip / COMM.BAT next >
DOS Batch File  |  1991-03-15  |  2KB  |  52 lines

  1. echo off    
  2. cls 
  3. :
  4. :   Example of a working BATCH file that can be placed in your path or root
  5. :   to call either YAM or ZCOMM, set the phones file and configure colors
  6. :   for the flash up help processor. (Anything with ':' in col 1 is a comment)
  7. :   Once you are setup you can delete these commented lines starting with ':'.
  8. :   This example assumes you have YAM or ZCOMM in C:\ZCOMM along with the 
  9. :   PHOMAST.T file.  Only YAM users need to use the 'set phones' command 
  10. :   since the default in ZCOMM is to look in \ZCOMM for a file called 
  11. :   PHOMAST.T
  12. :
  13. :   Actually it's better yet to put these 'set' commands in your AUTOEXEC.BAT
  14. :   file.  I just have them here so you can try it without changing your
  15. :   current configuration...
  16. :
  17. set PHONES=c:\zcomm\phomast.t
  18. :
  19. :   If you have a color system get rid of the ':' in front of the set
  20. :   commands on the next lines and the help processor will be in color!
  21. :
  22. : set normattr=31
  23. : set revattr=26
  24. : set undlattr=31
  25. :
  26. :   Comment in the line below if you get "Warning: Old dport=" message
  27. :   Set for what ever com port your modem is hooked to (here shown as COM1).
  28. :
  29. : set hotport=1
  30. c:
  31. cd\zcomm
  32. :
  33. :   If you are using YAM, uncomment the yam line below and comment out or
  34. :   the delete the zcomm line below.
  35. :
  36. : yam %1 %2 %3 %4
  37. zcomm %1 %2 %3 %4
  38. cd\
  39. cls
  40. :
  41. :   If you run into a DOS error 'Out of Environment Space' you will need to
  42. :   add the 'shell' command to CONFIG.SYS file.  For different DOS versions:
  43. :
  44. :       DOS V3.0:       shell=c:\command.com /p
  45. :       DOS V3.1-3.3:   shell=c:\command.com /p /e:512
  46. :
  47. :   The first argument tells DOS where to find 'COMMAND.COM', the two switches
  48. :   are:  /P for stay Permanent, and /E: for size of environment (ranging from
  49. :   11-62 {16byte paragraphs} for V3.1 and 160 to 32,767 bytes for V3.2-3.3 
  50. :   See your DOS manual for specifics on other versions.
  51. :
  52.