Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I generally do not do programming but find myself needing to find a way to script and possibly schedule time synchronization from a networked W2k workstation to a DOS (non-networked) computer via direct serial connection using hyperterminal. Any ideas? I am severely out of my league on this.

The only way you are going to do that is to have a small programme on the Windows 2000 computer that sends the time through the serial port when it receives a request from the DOS computer.
As Windows 2000 has no DOS, only a DOS emulator this programme is going to have to be a Windows programme.
You are also going to need an application on the DOS computer to make the request. Hyerteminal will not do it.
Fairly simple to do for a competent programmer, but not something you are going to do with a simple script.
Stuart

Thanks, it has been a long time since I worked directly with DOS (command prompt is different). I wasn't sure if I would be able to periodically push time or not. Do you have any recommendations on programs to use?

There are none as far as I know. Any programme to do what you require would have to be specially written.
Now if the DOS machine was networked there would be a host of programmes available - but none of them work through the serial port.
Stuart

May be I can give you some code for your needs, but specify better how the syncronization process should be performed as DOS is a single task operating system and so, if it has to listen continuosly, a TSR is needed and that is out of my hands at now.
Otherwise a manually controlled (on both sides) syncronization may be achieved.

Basically, I have a video network in place which is using the Win32time for synchronization. Because of certain new requirements for extension monitors, a new system has been installed that runs a DOS based mangaement system. Because it is DOS and serves no other function than manageing these additional monitors, it has not been added to the networked system. Updating the management software is accomplished using Hyperterminal across the serial port (Com1).
Even if I have to manually execute the synchronization on a periodic basis that is fine. But I want to be able to do it more efficiently than just entering the time command in DOS and typing in the current time from the synchronized system.
Only requirement is pull/push time from synchronized W2k computer to non-sunched DOS6.22 computer across serial (Com1) connection.

![]() |
microprocessor registers
|
Fullscreen view of C++ 3....
|

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