home *** CD-ROM | disk | FTP | other *** search
/ Share Gallery 1 / share_gal_1.zip / share_gal_1 / UT / UT202.ZIP / OLDRPT.BAT < prev    next >
DOS Batch File  |  1991-01-14  |  1KB  |  29 lines

  1. echo off
  2. echo/
  3. echo OLDRPT.BAT - Written by David M. Balmer for the Public Domain.
  4. echo/
  5. if "%1"=="" goto :syntax
  6. if "%2"=="" goto :syntax
  7. stamp %2 OLDVER REPORT /d /t /cr From /cd Using %1 /cr /overwrite
  8. stamp %2 ------------------------------------------------------------------------------- /cr /cr
  9. rem
  10. rem Add the /s parameter above to tell STAMP not to echo to the screen.
  11. rem
  12. oldver %1 %3 >> %2
  13. goto :ender
  14. :syntax
  15. echo Syntax: OLDRPT filename logfile [bkext]
  16. echo/
  17. echo This batch file is an example of one possible use of the STAMP utility.
  18. echo It runs OLDVER using the filename passed and creates a report file to
  19. echo the parameter "logfile" (can also be a DOS device) with the filename,
  20. echo current date & time and current directory printed at the top.
  21. echo/
  22. echo OLDLOG.BAT was written by David M. Balmer, Jr. and released into the
  23. echo public domain by Solaris Systems.  It requires the program "STAMP" which
  24. echo is copyrighted by Solaris Systems with all rights reserved and released
  25. echo as shareware.  LOG.BAT may be modified but, as a courtesy, please leave
  26. echo the original author's name and this information, add your name and what
  27. echo you changed.
  28. echo/
  29. :ender