exists or similar command to work like grep on file system files

Kenneth Brody kenbrody at spamcop.net
Thu Feb 13 07:36:08 PST 2014


On 2/13/2014 10:21 AM, James Flanagan wrote:
> Ok, after reviewing the suggestions of how to do what i am trying to
> accomplish, it does not appear that OPENDIR will meet my needs, but the
> USER command looks very promising.
>
> However, even after looking at the examples and reviewing the manual  for
> syntax, i cannot quite figure out how to use the command.  it seems to
> error on the PRGNAME label.  Thank you very much in advance.
>
> ::user prog = "/flantec/scripts/findphoto":
>
>
> *** A filePro Error Has Occurred ***
>
> Input Processing Line Number: 418
>
> user prog = "/flantec/scripts/findphoto"
>      ^
> Process contains a syntax error at position indicated.

Any chance you use "prog" for something else in that table?

As a side note, however, don't put quotes around the command.  (That won't 
cause the error you're seeing, but it can cause it to fail to run the command.)

-- 
Kenneth Brody


More information about the Filepro-list mailing list