[EMAIL PROTECTED] wrote:
> I can handle running 
> the 2 functions and scheduling the program to run every 30 
> seconds or so, but I'm not quite sure how to poll the 
> directory.  The directory is D:\Roi\PLACON.MAIN\INBOUND.EDI 
> and the file I want to check for is EDI.TXT and return a 
> true/false (1/0) to decide whether to continue processing.  
> Can anyone give me an example of this?  Thanks in advance.

How about... Make a DIR-type VOC pointer to it, SELECT the "record"
(which is really your file), and use whichever @-variable gives you the
number of items selected?  Otherwise, you could PCPERFORM some shell
script CAPTURING the output.

-- 
Wendy Smoak
Application Systems Analyst, Sr.
ASU IA Information Resources Management 
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to