[sci.electronics] CLOCK NEED TO BE SET ON BOOT UP

pnl@hpfinote.HP.COM (Peter Lim) (09/13/90)

Any version of DOS since version 2.x (I've never have the fortune to
use DOS 1.x  :-)), will not ask you the two time/date questions if
you have an AUTOEXEC.BAT file on your boot disk.

If you don't already have one, boot your PC, type "COPY CON AUTOEXEC.BAT",
then hit a return, a control-Z, and another return. Now, it is there.
This will prevent the asking of the questions, but it does not actually
set the PC clock.

Now if you have a PC (8088) instead of an AT (286) type of machine, then
you'll need to run a program that loads the PC timer from the real time
clock which is probably sitting on an expansion card. This program is
different for different card, so .......
For an AT, it is automatically loaded when the machine fires up.

Hope that helps.


Regards,                       ## Life is fast enough as it is ........
Peter Lim.                     ## .... DON'T PUSH IT !!          >>>-------,
                               ########################################### :
E-mail:  plim@hpsgwg.HP.COM     Snail-mail:  Hewlett Packard Singapore,    :
Tel:     (065)-279-2289                      (ICDS, ICS)                   |
Telnet:        520-2289                      1150 Depot Road,           __\@/__
  ... also at: pnl@hpfipnl.HP.COM            Singapore   0410.           SPLAT !


#include <standard_disclaimer.hpp>

coelho@hpsmpa.HP.COM (John Coelho) (09/14/90)

 / hpsmpa:sci.electronics / v129r5mg@ubvmsb.cc.buffalo.edu (Sureindran Nadesan) /  5:56 pm  Sep 10, 1990 /


> Hi guys there,
> 	I wander anyone outthere can help me ? I have been a simple problem.
> Whenever I turn on my PC , it asks for the date & time. Is there anyway I can 
> set it automatically without even inputting any values? I beleive it has a 
> built-in clock. I hope I do not have to buy additional hardwares.Any suggestions
> will be greatly appreciated.


> 					SURESH NADESAN
> 					V129R5MG@UBVMS



My machine (DOS hp Vectra)  asks for date & time when there is no autoexec.bat
file, or maybe you have the date and time commands in the autoexec file.   
Hope this helps.

John.