A Windows 98 & ME forum. Win98banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Win98banter forum » Windows 98 » Setup & Installation
Site Map Home Authors List Search Today's Posts Mark Forums Read Web Partners

CMOS battery in laptop is dead, can I use MS-DOS date & timecommands?



 
 
Thread Tools Display Modes
  #1  
Old November 9th 09, 06:30 AM posted to microsoft.public.win98.setup
SlickRCBD[_3_]
External Usenet User
 
Posts: 104
Default CMOS battery in laptop is dead, can I use MS-DOS date & timecommands?

The CMOST battery in an old laptop of mine is dead. I need to be able
to open & edit Word documents away from computers once a week for the
rest of the month. It's not worth it to shell out several hundred
dollars for a new laptop when this is the first time I've needed this
one in years. Is there any reason why I can't stick a batch file in
my startup items folder in Win98 First Edition with two lines
date
time
to prompt me to set the date and time like some of my friends used to
have to do with their MS-DOS systems when I was a child? The default
settings for the laptop seem to work just fine, the only problem I
see with the dead CMOS battery is the messed up clock. Is there
anything else I might not be noticing? When I've checked Setup (hit f2
to enter setup) everything except the clock looks fine.

Oh, should I use startup items or edit the traditional autoexec.bat? I
can't recall if that gets used by default, or only when booting to MS-
DOS mode.
  #2  
Old November 9th 09, 01:46 PM posted to microsoft.public.win98.setup
John Dulak
External Usenet User
 
Posts: 101
Default CMOS battery in laptop is dead, can I use MS-DOS date & timecommands?

SlickRCBD wrote:
The CMOST battery in an old laptop of mine is dead. I need to be able
to open & edit Word documents away from computers once a week for the
rest of the month. It's not worth it to shell out several hundred
dollars for a new laptop when this is the first time I've needed this
one in years. Is there any reason why I can't stick a batch file in
my startup items folder in Win98 First Edition with two lines
date
time
to prompt me to set the date and time like some of my friends used to
have to do with their MS-DOS systems when I was a child? The default
settings for the laptop seem to work just fine, the only problem I
see with the dead CMOS battery is the messed up clock. Is there
anything else I might not be noticing? When I've checked Setup (hit f2
to enter setup) everything except the clock looks fine.

Oh, should I use startup items or edit the traditional autoexec.bat? I
can't recall if that gets used by default, or only when booting to MS-
DOS mode.


SlickRCBD:

The referance to a batch file, or the equilivant commands themselves,
in Autoexec.bat should work just fine for now since you say the
default CMOS settings work for you. Windows 98 does not REQUIRE an
Autoexec.bat file but will use one if it is present. Legacy hardware
often required configuration parameters and the install program would
put them there for Windows to use.

You may be able to change the CMOS battery in the laptop yourself. See
if you can track down a SERVICE manual for your make and model. The
most difficult pare is often figguring out how to get it appart.

HTH & GL

John
--
\\\||///
------------------o000----(o)(o)----000o----------------
----------------------------()--------------------------
'' Madness takes its toll - Please have exact change. ''

John Dulak - 40.4913ºN,79.904ºW - http://tinyurl.com/2qs6o6
  #3  
Old November 10th 09, 06:51 AM posted to microsoft.public.win98.setup
glee
External Usenet User
 
Posts: 2,458
Default CMOS battery in laptop is dead, can I use MS-DOS date & time commands?

"SlickRCBD" wrote in message
...
The CMOST battery in an old laptop of mine is dead. I need to be able
to open & edit Word documents away from computers once a week for the
rest of the month. It's not worth it to shell out several hundred
dollars for a new laptop when this is the first time I've needed this
one in years. Is there any reason why I can't stick a batch file in
my startup items folder in Win98 First Edition with two lines
date
time
to prompt me to set the date and time like some of my friends used to
have to do with their MS-DOS systems when I was a child? The default
settings for the laptop seem to work just fine, the only problem I
see with the dead CMOS battery is the messed up clock. Is there
anything else I might not be noticing? When I've checked Setup (hit f2
to enter setup) everything except the clock looks fine.

Oh, should I use startup items or edit the traditional autoexec.bat? I
can't recall if that gets used by default, or only when booting to MS-
DOS mode.


Using the DOS date and time commands isn't going to do you any good, if
the BIOS Setup is showing the wrong time and date. Those DOS commands
just get date and time from the BIOS....and the BIOS is wrong due to a
dying CMOS battery. Where did you think DOS gets the time and date
from?
--
Glen Ventura, MS MVP Oct. 2002 - Sept. 2009
A+
http://dts-l.net/

  #4  
Old November 10th 09, 06:51 AM posted to microsoft.public.win98.setup
glee
External Usenet User
 
Posts: 2,458
Default CMOS battery in laptop is dead, can I use MS-DOS date & time commands?

"SlickRCBD" wrote in message
...
The CMOST battery in an old laptop of mine is dead. I need to be able
to open & edit Word documents away from computers once a week for the
rest of the month. It's not worth it to shell out several hundred
dollars for a new laptop when this is the first time I've needed this
one in years. Is there any reason why I can't stick a batch file in
my startup items folder in Win98 First Edition with two lines
date
time
to prompt me to set the date and time like some of my friends used to
have to do with their MS-DOS systems when I was a child? The default
settings for the laptop seem to work just fine, the only problem I
see with the dead CMOS battery is the messed up clock. Is there
anything else I might not be noticing? When I've checked Setup (hit f2
to enter setup) everything except the clock looks fine.

Oh, should I use startup items or edit the traditional autoexec.bat? I
can't recall if that gets used by default, or only when booting to MS-
DOS mode.


Using the DOS date and time commands isn't going to do you any good, if
the BIOS Setup is showing the wrong time and date. Those DOS commands
just get date and time from the BIOS....and the BIOS is wrong due to a
dying CMOS battery. Where did you think DOS gets the time and date
from?
--
Glen Ventura, MS MVP Oct. 2002 - Sept. 2009
A+
http://dts-l.net/

  #5  
Old November 10th 09, 02:03 PM posted to microsoft.public.win98.setup
98 Guy
External Usenet User
 
Posts: 2,951
Default CMOS battery in laptop is dead, can I use MS-DOS date & timecommands?

glee wrote:

The CMOS battery in an old laptop of mine is dead.
Is there any reason why I can't stick a batch file in my
startup items folder in Win98 First Edition with two lines
date
time
to prompt me to set the date and time


Oh, should I use startup items or edit the traditional
autoexec.bat?


Using the DOS date and time commands isn't going to do you any
good, if the BIOS Setup is showing the wrong time and date.
Those DOS commands just get date and time from the BIOS....


No, what he's proposing will work just fine.

When you issue a date or time command from the dos prompt (even before
win-98 boots) the system clock and calendar will keep that date/time for
the rest of that session until you power down the laptop.

and the BIOS is wrong due to a dying CMOS battery.


That's not being disputed.

Where did you think DOS gets the time and date from?


DOS and windows will get the Date and Time from the system clock.

The user can set or re-set the system clock at any time. Once the user
sets the system clock via a DOS command or the system tray in windows,
the system clock will be correct for the rest of that session as long as
the system remains powered up.

I would have thought that unless the laptop's internal main battery is
completely dead, that it could rely on it to keep the cmos settings (and
system clock) powered.

At the very least, if external power is supplied to the laptop when it's
turned off, that should enable the system clock and calendar to keep
operating without resetting.
  #6  
Old November 10th 09, 02:03 PM posted to microsoft.public.win98.setup
98 Guy
External Usenet User
 
Posts: 2,951
Default CMOS battery in laptop is dead, can I use MS-DOS date & timecommands?

glee wrote:

The CMOS battery in an old laptop of mine is dead.
Is there any reason why I can't stick a batch file in my
startup items folder in Win98 First Edition with two lines
date
time
to prompt me to set the date and time


Oh, should I use startup items or edit the traditional
autoexec.bat?


Using the DOS date and time commands isn't going to do you any
good, if the BIOS Setup is showing the wrong time and date.
Those DOS commands just get date and time from the BIOS....


No, what he's proposing will work just fine.

When you issue a date or time command from the dos prompt (even before
win-98 boots) the system clock and calendar will keep that date/time for
the rest of that session until you power down the laptop.

and the BIOS is wrong due to a dying CMOS battery.


That's not being disputed.

Where did you think DOS gets the time and date from?


DOS and windows will get the Date and Time from the system clock.

The user can set or re-set the system clock at any time. Once the user
sets the system clock via a DOS command or the system tray in windows,
the system clock will be correct for the rest of that session as long as
the system remains powered up.

I would have thought that unless the laptop's internal main battery is
completely dead, that it could rely on it to keep the cmos settings (and
system clock) powered.

At the very least, if external power is supplied to the laptop when it's
turned off, that should enable the system clock and calendar to keep
operating without resetting.
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is It Necessary To Replace The CMOS Battery DaffyD® General 5 January 16th 07 12:15 PM
CMOS battery Paul Hardware 5 April 30th 05 05:18 PM
Battery and cmos Carla General 1 November 5th 04 11:20 PM
Replaced my CMOS battery kristi General 2 September 23rd 04 06:26 PM
Changed CMOS battery derrick General 3 September 22nd 04 08:32 PM


All times are GMT +1. The time now is 11:07 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Win98banter.
The comments are property of their posters.