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

 
Output of file : SAMPLE2.BAT contained in archive : DATENV12.ZIP
: SAMPLE2.BAT
: An example of using DATENV.EXE for a
: file download from a command file
DATENV one
if ERRORLEVEL 1 goto bad :note this is needed to
:test for successful completion
copy skeleton.fil comm.prg
echo DOWNLOAD file%one% to c:\download\* >> comm.prg
echo WAIT finished: >> comm.prg
echo PUT logout >> comm.prg
: this is where the comm program calls the command file
commprog comm.prg
DATENV one FILE c:\download\file%one%
if %onef% == SAME goto end
:bad
echo this didn't work
:END


  3 Responses to “Category : Batch File Utilities - mostly for DOS
Archive   : DATENV12.ZIP
Filename : SAMPLE2.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/