home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS - Coast to Coast
/
simteldosarchivecoasttocoast.iso
/
pcmag
/
vol11n15.zip
/
CURR_UPD.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-10-14
|
550b
|
17 lines
@ECHO OFF
REM:
REM ### Batch File Program to set Environment Variable ###
REM ### CURR = to the current MO DAY YR HR MIN AM/PM ###
REM:
REM ### Create a 0 byte file ###
REM > SET-CURR.BAT
REM ### Get current date and time into SET-CURR.BAT ###
DIR SET-CURR.BAT > SET-CURR.BAT
REM ### Edit SET-CURR.BAT to set Environment Variable ###
REM ### CURR equal to the current date and time ###
EDLIN SET-CURR.BAT < UPDATE.SCR > NUL
REM ### Set CURR ###
call set-curr
REM ### Cleanup ###
DEL SET-CURR.*