home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
magazine
/
pcmagazi
/
1992
/
15
/
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.*