Computing.Net > Forums > Programming > time sync to 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.

time sync to DOS

Reply to Message Icon

Name: unclet7
Date: September 13, 2005 at 18:22:38 Pacific
OS: W2k/ DOS 6.22
CPU/Ram: PIII/ DiskonChip
Comment:

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.



Sponsored Link
Ads by Google

Response Number 1
Name: StuartS
Date: September 13, 2005 at 19:23:28 Pacific
Reply:

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


0

Response Number 2
Name: unclet7
Date: September 13, 2005 at 19:52:47 Pacific
Reply:

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?


0

Response Number 3
Name: StuartS
Date: September 14, 2005 at 05:24:47 Pacific
Reply:

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


0

Response Number 4
Name: IVO
Date: September 14, 2005 at 06:18:38 Pacific
Reply:

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.


0

Response Number 5
Name: unclet7
Date: September 14, 2005 at 14:58:05 Pacific
Reply:

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.


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon

microprocessor registers Fullscreen view of C++ 3....



Post Locked

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


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: time sync to DOS

How to do Searching ...? www.computing.net/answers/programming/how-to-do-searching-/9288.html

What must I know to do this in C++? www.computing.net/answers/programming/what-must-i-know-to-do-this-in-c/4516.html

how to do numerical integrations www.computing.net/answers/programming/how-to-do-numerical-integrations/7582.html