Chdir problem

GCC Consulting gcc at optonline.net
Tue Aug 31 16:54:57 PDT 2004


Windows network server NT 4.0 service pak 6a, client WinXP

Here's the problem.

Upgraded a client's workstation to WinXP and am having a problem printing a
report from their EDI software.  The report is printing graphics only.  The
program generates a test file which it is sending to the printer.  If I use
WinXP's Print /d:\\ls_server\laser filename, the report prints correctly.

What I would like to do is have use filePro 's system command to print this
report.  

Sounds simple however this is a functional acknowledgement from there customers
and each acknowledgement is located in a different directory.  It looks
something like this:

C:\edate\GEIS-A\customer_name\ANSI\997\all\997.rpt

The variable here is the customer name and the date of the file 997.rpt

I need to search each customer directory, get the name and if 997.rpt's date is
equal to today's date, store the directory name in an array.  Once I have all of
the positives, I would the loop through the array appending the name into the
command an printing the report.

Any suggestions on how to best accomplish this will be greatly appreciated.

Richard Kreiss
GCC Consulting 

PS:

Most likely the best solution will be to upgrade the EDI software but my client
hasn't done this yet.  They are running a 3 year old version of the software.
The upgrade is about $1,000 and their finances are tight right now.





More information about the Filepro-list mailing list