home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Share Gallery 1
/
share_gal_1.zip
/
share_gal_1
/
UT
/
UT202.ZIP
/
OLDRPT.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-01-14
|
1KB
|
29 lines
echo off
echo/
echo OLDRPT.BAT - Written by David M. Balmer for the Public Domain.
echo/
if "%1"=="" goto :syntax
if "%2"=="" goto :syntax
stamp %2 OLDVER REPORT /d /t /cr From /cd Using %1 /cr /overwrite
stamp %2 ------------------------------------------------------------------------------- /cr /cr
rem
rem Add the /s parameter above to tell STAMP not to echo to the screen.
rem
oldver %1 %3 >> %2
goto :ender
:syntax
echo Syntax: OLDRPT filename logfile [bkext]
echo/
echo This batch file is an example of one possible use of the STAMP utility.
echo It runs OLDVER using the filename passed and creates a report file to
echo the parameter "logfile" (can also be a DOS device) with the filename,
echo current date & time and current directory printed at the top.
echo/
echo OLDLOG.BAT was written by David M. Balmer, Jr. and released into the
echo public domain by Solaris Systems. It requires the program "STAMP" which
echo is copyrighted by Solaris Systems with all rights reserved and released
echo as shareware. LOG.BAT may be modified but, as a courtesy, please leave
echo the original author's name and this information, add your name and what
echo you changed.
echo/
:ender