<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; ">Ken, <div><br></div><div>no, it does not matter what i put the PRGNAME field, as you can see here: Thanks, </div><div><br></div><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: 419</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">user kenbrody = /flantec/scripts/findphoto</font></div><div><font face="Courier"> ^</font></div><div><font face="Courier">Process contains a syntax error at position indicated.</font></div><div><br></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"> </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 13, 2014, at 9:21 AM, James Flanagan <<a href="mailto:James@Flantec.com">James@Flantec.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">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. <br><br>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. <br><br>::user prog = "/flantec/scripts/findphoto":<br><br><br>*** A filePro Error Has Occurred ***<br><br>Input Processing<br>Line Number: 418<br><br>user prog = "/flantec/scripts/findphoto"<br> ^<br>Process contains a syntax error at position indicated.<br><br><br>James Flanagan<br><a href="http://Flantec.com">Flantec.com</a><br><br>email:<span class="Apple-tab-span" style="white-space:pre">        </span>James@Flantec.com<br>mobile:<span class="Apple-tab-span" style="white-space:pre">        </span>760-458-8498<br>home: <span class="Apple-tab-span" style="white-space:pre">        </span>219-221-6219<br>text:<span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>7604588498@txt.att.net<br><br>aim:<span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>Flantec<br>oovoo:<span class="Apple-tab-span" style="white-space:pre">        </span>Flantec<br>Skype:<span class="Apple-tab-span" style="white-space:pre">        </span>Flantec<br>ichat:<span class="Apple-tab-span" style="white-space:pre">        </span>Flantec@mac.com<br><br>home:<span class="Apple-tab-span" style="white-space:pre">        </span>1901 Cidermill Road<br><span class="Apple-tab-span" style="white-space:pre">        </span><span class="Apple-tab-span" style="white-space:pre">        </span>Michigan City, IN 46360<br><br>On Feb 12, 2014, at 9:54 AM, Kenneth Brody <kenbrody@spamcop.net> wrote:<br><br><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). 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. 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<"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>Filepro-list@lists.celestial.com<br>Subscribe/Unsubscribe/Subscription Changes<br>http://mailman.celestial.com/mailman/listinfo/filepro-list<br></blockquote><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20140213/3974eb25/attachment.html <br>_______________________________________________<br>Filepro-list mailing list<br>Filepro-list@lists.celestial.com<br>Subscribe/Unsubscribe/Subscription Changes<br>http://mailman.celestial.com/mailman/listinfo/filepro-list<br></blockquote></div><br></div></body></html>