<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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. &nbsp;<div><br></div><div>However, even after looking at the examples and reviewing the manual &nbsp;for syntax, i cannot quite figure out how to use the command. &nbsp;it seems to error on the PRGNAME label. &nbsp;Thank you very much in advance. &nbsp;</div><div><br></div><div><font face="Courier">::user prog = "/flantec/scripts/findphoto":</font></div><div><br></div><div><div><font face="Courier"><br></font></div><div><font face="Courier">*** A filePro Error Has Occurred ***</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">Input Processing</font></div><div><font face="Courier">Line Number: 418</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">user prog = "/flantec/scripts/findphoto"</font></div><div><font face="Courier">&nbsp; &nbsp; &nbsp;^</font></div><div><font face="Courier">Process contains a syntax error at position indicated.</font></div></div><div><div><font face="Courier"><br></font></div><div><div>
<span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><div style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(121, 121, 121); "><br class="Apple-interchange-newline">James Flanagan</div><div style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(0, 106, 227); "><span style="text-decoration: underline; "><a href="http://Flantec.com/">Flantec.com</a></span></div><div style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(121, 121, 121); min-height: 14px; "><br></div><div style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(0, 106, 227); "><span style="color: rgb(121, 121, 121); ">email:<span class="Apple-tab-span" style="white-space: pre; ">        </span><a href="mailto:James@Flantec.com"><span style="text-decoration: underline; color: rgb(0, 106, 227); ">James@Flantec.com</span></a></span></div><div style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(121, 121, 121); ">mobile:<span class="Apple-tab-span" style="white-space: pre; ">        </span>760-458-8498</div><div style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(121, 121, 121); ">home:<span class="Apple-converted-space">&nbsp;</span><span class="Apple-tab-span" style="white-space: pre; ">        </span>219-221-6219</div><div style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(0, 106, 227); "><span style="color: rgb(121, 121, 121); ">text:<span class="Apple-tab-span" style="white-space: pre; ">                </span><a href="mailto:7604588498@txt.att.net"><span style="text-decoration: underline; color: rgb(0, 106, 227); ">7604588498@txt.att.net</span></a></span></div><div style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(121, 121, 121); min-height: 14px; "><br></div><div style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(121, 121, 121); ">aim:<span class="Apple-tab-span" style="white-space: pre; ">                </span>Flantec</div><div style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(121, 121, 121); ">oovoo:<span class="Apple-tab-span" style="white-space: pre; ">        </span>Flantec</div><div style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(121, 121, 121); ">Skype:<span class="Apple-tab-span" style="white-space: pre; ">        </span>Flantec</div><div style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(0, 106, 227); "><span style="color: rgb(121, 121, 121); ">ichat:<span class="Apple-tab-span" style="white-space: pre; ">        </span><a href="mailto:Flantec@mac.com"><span style="text-decoration: underline; color: rgb(0, 106, 227); ">Flantec@mac.com</span></a></span></div><div style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(121, 121, 121); min-height: 14px; "><br></div><div style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(121, 121, 121); ">home:<span class="Apple-tab-span" style="white-space: pre; ">        </span>1901 Cidermill Road</div><div style="margin: 0px; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-family: Helvetica; color: rgb(121, 121, 121); "><span class="Apple-tab-span" style="white-space: pre; ">                </span>Michigan City, IN 46360</div></span>
</div>
<br><div><div>On Feb 12, 2014, at 9:54 AM, Kenneth Brody &lt;<a href="mailto:kenbrody@spamcop.net">kenbrody@spamcop.net</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">On 2/11/2014 11:19 PM, James Flanagan wrote:<br><blockquote type="cite">Server: <span class="Apple-tab-span" style="white-space:pre">        </span>FreeBSD 9.2 Filepro:<span class="Apple-tab-span" style="white-space:pre">        </span>5.7.0.4<br><br>I am looking a way to have filepro verify whether a file exists using<br>only a partial file name (like grep). &nbsp;This will be used with photographs<br>from all sorts of cameras so instead of trying to account for every<br>possible camera filename structure, i would like to be able to supply<br>filepro with 3-4 numbers and a directory and have filepro determine if a<br>file with that number exists in a file name. &nbsp;that will be accurate<br>enough for what i need the code to do.<br></blockquote>[...]<br><blockquote type="cite">[root@filepro a]# ls<br>IMGP0997.JPG<span class="Apple-tab-span" style="white-space:pre">        </span>IMGP0999.JPG<span class="Apple-tab-span" style="white-space:pre">        </span>IMGP1001.JPG<span class="Apple-tab-span" style="white-space:pre">        </span>IMGP1003.JPG<br>IMGP0998.JPG<span class="Apple-tab-span" style="white-space:pre">        </span>IMGP1000.JPG<span class="Apple-tab-span" style="white-space:pre">        </span>IMGP1002.JPG<span class="Apple-tab-span" style="white-space:pre">        </span>IMGP1004.JPG<br><br>::aa="0998": :exists("/tmp/a/*"{aa{"*") eq "1":msgbox aa&lt;"exists":<br></blockquote>[...]<br><br>As you see, EXISTS() needs a filename, not a wildcard mask.<br><br>Check out OPENDIR().<br><br>-- <br>Kenneth Brody<br>_______________________________________________<br>Filepro-list mailing list<br><a href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a><br>Subscribe/Unsubscribe/Subscription Changes<br>http://mailman.celestial.com/mailman/listinfo/filepro-list<br></blockquote></div><br></div></div></body></html>