Category : Batch File Utilities - mostly for DOS
Archive   : DATENV12.ZIP
Filename : SAMPLE1.BAT

 
Output of file : SAMPLE1.BAT contained in archive : DATENV12.ZIP
: 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


  3 Responses to “Category : Batch File Utilities - mostly for DOS
Archive   : DATENV12.ZIP
Filename : SAMPLE1.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/