I do this using a two main tools.   A DP report generates a batch file
with the extension BTM.  This uses Take Command, which is a more
powerful command shell (see http://www.jpsoft.com/tcmddes.htm).   Take
command is not required, but allows subroutines with called variables.
I test to see if a file exists, and then create a file (edox.txt) that
lists all the MISSING files.   Not sure this code will make sense, but
here is part of a subroutine:
 
:COPYweb [DIR FNAME TIFNAME WEBDIR JOUR]
 
IFF EXIST "%DIR\%WEBDIR\%FNAME" THEN
     RETURN
ELSE
     echo  missing file  "%DIR\%WEBDIR\%FNAME" FROM "%JOUR" >
c:\next.txt
     COPY /Y C:\EDOX.TXT + C:\NEXT.TXT C:\EDOX.TXT
ENDIFF
 
RETURN
 
 
Then I email the file to myself using CSSMTP, a command line email
program (see
http://www.codestone.ltd.uk/software/docs/cssmtp/cssmtp.html if
interested).  Again, this is not necessary, but I like getting the
email.  Sometimes I create a web file and then you can just load the web
file to see what is missing.  Lots of ways to get it done. 
 
________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert Kendall
Sent: Thursday, March 06, 2008 2:47 PM
To: Dataperfect Users Discussion Group
Subject: [Dataperf] (no subject)


I would like to create a DP report to check for missing PDF files. The
PDF files are named with consecutive numbers. I thought the "iinclude
filename in RV" function might work but I don't have any documentation
on how to use it. All I want to do is verify that a PDF filename exists
to match each filename my DP report generates. Any suggestions would be
appreciated.
_______________________________________________
Dataperf mailing list
[email protected]
http://lists.dataperfect.nl/mailman/listinfo/dataperf

Reply via email to