home *** CD-ROM | disk | FTP | other *** search
- COMSWAP.COM
-
-
- COMSWA╨á i≤ ß ne≈ utilit∙ fo≥ re-directinτ datß flo≈ froφ onσ CO═
- channe∞ t∩ another«á Thi≤ i≤ likσ usinτ thσ DO╙ MOD┼ commanΣá t∩ ì
- re-direc⌠ LPT▒ t∩ COM1¼á excep⌠ DO╙ MOD┼ wil∞ no⌠ allo≈ re-direct
- from COM1 to COM2.
-
- COMSE╘áallow≤ changinτ devicσ name≤ iε thσ COMS.SY╙ filσ t∩ names
- likσ MODEM¼á CTTY¼á AUX¼ etc.¼ bu⌠ doe≤ no⌠ allo≈ changinτ name≤ ì
- iεá thσá loadeΣ COMS.SY╙ file«á Iµ yo⌡ arσ usinτ ß prograφá tha⌠ ì
- send≤ datß t∩ COM▒ o≥ COM2¼ anΣ yo⌡ wan⌠ i⌠ t∩ senΣ t∩ COM5¼ the
- prograφá wil∞á no⌠ allo≈ yo⌡ t∩ d∩ so«á Yo⌡ mus⌠á eithe≥á changσ ì
- names in the COMS.SYS file and re-boot DOS, or switch the output
- cables.
-
- T∩ usσ COMSWAP¼á g∩ t∩ thσ DO╙ prompt¼ ente≥ COMSWAP¼ followeΣ ì
- b∙á thσá tw∩ devicσ name≤ yo⌡ wan⌠ t∩ swap¼á anΣ theεá ENTE╥á o≥ ì
- RETURN:
-
- i.e. A>COMSWAP COM1 COM5
-
- This will swap the names of the two devices so any data sent to
- o≥ receiveΣ froφ COM▒ wil∞ re-direc⌠ t∩ o≥ froφ COM5«á An∙á datß
- sent to or recived from COM5 will re-direct to or from COM1. This
- is the same as swapping the two output cables.
-
- Any device name that is requested but not found will be displayed
- witΦá aε erro≥ message¼á followeΣ b∙ ß lis⌠ oµ al∞ devicσá name≤
- which are valid.
-
-
- i.e. A>COMSWAP COM1 TTY
-
- Error TTY is Not a valid Device Name
-
- The following names are valid :
-
- COM1 COM2 COM3 COM4 COM5 COM6 COM7 COM8
- COM9 COM10 COM11 COM12 COM13 COM14 COM16 COM17
- COM18 COM19 COM20 COM21 COM22 COM23 COM24 COM25
- COM26 COM27 COM28 COM29 COM30 COM31 COM32 COM33
- COM34 COM35
-
-
- Iµ yo⌡ tr∙ t∩ usσ COMSWA╨ wheε COMS.SY╙ wa≤ no⌠ loadeΣ durinτ DO╙ ì
- boot an error message will be displayed:
-
-
- Error COMS.SYS does not appear to be loaded
-
-
- Checδá CONFIG.SY╙ oε thσ Boot-Disδ fo≥ Device=COMS.SY╙ anΣ makσ ì
- sure COMS.SYS is resident.