home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Big Blue Disk 26
/
bbd26.zip
/
DTSET.TXT
< prev
next >
Wrap
Text File
|
1988-09-29
|
3KB
|
56 lines
|A╔══════════════╗════════════════════════════════════════════════╔══════════════╗
|A║ |6Happy Hacker |A║══════════════════ ^1Date Set |A═══════════════════║ |6Happy Hacker |A║
|A╚══════════════╝════════════════════════════════════════════════╚══════════════╝
^Cby
^CRichard Wong
If you don't have a battery-powered realtime clock, then you're probably
prompted by DOS for the date and time when you boot up. If, like many people,
you don't care to type in a date, it will default to Jan. 1, 1980. If you fail
to include the DATE command in your AUTOEXEC.BAT file, then this default date
will be used without your even getting a chance to change it. Judging from the
number of submission and feedback files we get with this date, this is a very
common phenomenon in the PC world.
This program helps you stay up to date, by giving you a quick and easy way to
set the system date and time. Rather than typing in the whole date, and trying
to remember whether DOS wants it with slashes or dashes, you set it with a
couple of easy keystrokes.
This program is run with the command ^1DTSET^0. This can be done manually, or
inserted into your AUTOEXEC.BAT file to do upon bootup. It will present you
with a default date and time on the top line of the screen. Instead of the
normal default "Jan. 1, 1980," the default used will be the date and time that
were set the last time you ran DATE SET. This means that even if you get lazy
and just press ENTER to use the default, it will probably only be a day or two
behind, rather than a totally meaningless date.
If you wish to set the right date and time, just use the arrow keys. The
cursor will start on the day number; increment or decrement it with the up and
down arrows respectively. Use the left and right arrows to move to other
fields. Most of the time, the change of date will require only a couple of
keystrokes: if it's the same day as the last time you booted up, no change is
needed; if it's the following day, most of the time only a single up-arrow
keystroke will change it. (If it's a new month or year, you'll have to move to
those fields and bump them up one as well.) The time of day will be set to that
of the last login; if you boot your system like clockwork every morning at 9:00,
you can set this once as the default and just press ENTER every time from then
on. If you'd like to keep a more accurate system time, use the arrows to change
it like with the date.
ESC gets you out of DATE SET without altering the system time, if you realize
that you've got the right time already and don't wish to revert it to the
program's defaults. ENTER sets the system clock to the time and date shown on
the screen, then exits the program.
DATE SET stores the last-run time in its own file's date and time, so don't
get worried about this date changing in your directory. (Some virus-checking
programs get alarmed at changes in dates of .EXE files, but in this case it's
perfectly normal.)
To run this program outside the BIG BLUE DISK menu, type: ^1DTSET^0.
DISK FILES THIS PROGRAM USES:
^FDTSET.EXE