ENVDATE.EXE 16-bit DOS MODE
Purpose Write the current date or another date into the environment for testing or passing to other programs.
Description This program places a month, date and year in the DOS environment as three different strings. This allows batch programs to test them or keypump.exe to push them into the keyboard buffer.



    ENVDATE version 1.30    written by Lincoln Jaros

        envdate [options]

        options:
        /d=nn    + add or - subtract nn days from current date
        /m=nn    + add or - subtract nn months from current date
        /y=nn    + add or - subtract nn years from current date
        /f=1     format month as 01, 02, 03... (default)
        /f=2     format month as JAN, FEB, MAR...
        /t       include time in environment variable
        /nt      Windows NT option to create batch file (see notes below)

        This program loads the current date and/or time into
        environmental variables in DOS and Windows 95/98:

            E_MONTH=      E_HOUR=
            E_DAY=        E_MINUTE=
            E_YEAR=       E_SECOND=
            E_DATE=       E_TIME=

        Windows NT does not provide a method for a program to change the
        variables in the environment of the command shell that started
        the program.  As a work around, the /nt switch will cause ENVDATE
        to place the necessary SET commands in a batch file named _RESULT.BAT
        which it will create in the directory specified by the TEMP variable.
        This file can be used by the parent batch file to load the variables
        created by ENVDATE with the following batch file commands:

             ENVDATE /nt
             %TEMP%_RESULT.BAT

		

DOWNLOAD