Computing.Net > Forums > Disk Operating System > com1>com4 redirection in dos

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

com1>com4 redirection in dos

Reply to Message Icon

Name: allen
Date: August 22, 2002 at 03:27:07 Pacific
Comment:

I am not sure if you can help me or not?
I have a DOS application that sends output on com1 or com2 only at 9600 Baud.
My laptop only has com1 external port, com3 for the Internal Modem and a Virtual com4 as an IR port under Windows98
I now have a new Mobile Phone that communicates with my Laptop using IR. This does work, as I have downloaded the address book from the phone to the Laptop.
The problem I have is that I wish to use the DOS application in a DOS Window to upload to the phone.
I can not change the IR port down to com1, it will only use the Virtual com4. There is no means of changing the port.
I need to select com1 in the application but the output needs to go out of the IR port com4 at 9600 Baud.
Any suggestions would be appreciated.



Sponsored Link
Ads by Google

Response Number 1
Name: chris db
Date: August 28, 2002 at 19:33:03 Pacific
Reply:

such a long shot I doubt it will work:
edit the dos program, from dos, with edit /78 whatever.com
search for the string 'com1' in the binary
change the 1 to a 4.
(make sure you've got a backup, and the
zero key on the numeric keypad is toggled to 'replace' not to 'insert' or you'll mess up the binary. Then save it.
I bet this doesn't work but I would try it anyway.


0
Reply to Message Icon

Related Posts

See More


DOS batch under NT 4.0 DOS 5 Boot Disk



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: com1>com4 redirection in dos

COm1 Port config. to print in DOS www.computing.net/answers/dos/com1-port-config-to-print-in-dos/16139.html

Input Redirection in NT-DOS www.computing.net/answers/dos/input-redirection-in-ntdos/2090.html

copy command in dos from win95 www.computing.net/answers/dos/copy-command-in-dos-from-win95/4306.html