0001: * QTEST
0002: * d.bartlett 23Jun04
0003: * show how to capture files in a dos directory for
later
processing
0004: *
------------------------------------------------------------
------
0005:       FILE.2.FIND = 'EDI.TXT'
0006:       EXECUTE 'DOS /C DIR /B C:\' CAPTURING X
RETURNING Y
0007:       ITS.THERE = (INDEX(X, FILE.2.FIND, 1) > 0)

"ITS.THERE" will contain a ONE if it exists, a ZERO if not

Note tho' that you may need to remove the "/B" option to get
greater
detail
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to