: SAMPLE1.BAT
: An example of using DATENV.EXE for a file download
: from the command line and cleaning up an old file
DATENV one DOW tue svar -14
if ERRORLEVEL 1 goto bad :note this is needed to
                         :test for successful completion
DOWNLOAD file%one% to c:\download\*
del c:\download\file%one2%
set one=
set one2=
goto end
:bad
echo this didn't work
:END
