home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR4
/
SETDT110.ZIP
/
SETDT.BAS
< prev
next >
Wrap
BASIC Source File
|
1993-09-29
|
378b
|
18 lines
OPEN "set_dt.bat" FOR OUTPUT AS #1
d$ = DATE$
mm$ = MID$(d$, 1, 2)
dd$ = MID$(d$, 4, 2)
yy$ = MID$(d$, 9, 2)
t$ = TIME$
hr$ = MID$(t$, 1, 2)
mn$ = MID$(t$, 4, 2)
sc$ = MID$(t$, 7, 2)
PRINT #1, "@echo off"
PRINT #1, "set mm="; mm$
PRINT #1, "set dd="; dd$
PRINT #1, "set yy="; yy$
PRINT #1, "set hr="; hr$
PRINT #1, "set mn="; mn$
PRINT #1, "set sc="; sc$
CLOSE