<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; ">I was hopeful that was the fix, but the three slashes did not work in place of the single slash. &nbsp;thanks,&nbsp;<br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><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 Jun 19, 2013, at 7:11 PM, 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 6/19/2013 6:44 PM, James Flanagan wrote:<br><blockquote type="cite">I am trying to send a unix command that requires " ' " (single quote<br>characters) to encapsulate the data that is being added as metadata in a<br>file. I have tried using the " \ " prior to each single quote character, and<br>if I msgbox the uc variable from the code below, the resulting command<br>appears perfect. however, when uc is actually run by the system command, the<br>single quotes do not appear to be translated properly because I get a<br>message on the screen that says" Error - File not Found - bedroom". That<br>tells me that the single quotes are not being respected to keep "master<br>bedroom" as a single string. Therefore, exiftool misinterprets bedroom as<br>the filename due to the space character between master and bedroom.<br><br>I am using FilePro 5.7 on FreeBSD 9.0 p3.<br><br>I am hopeful that there is an easy solution to this. &nbsp;thank you very much,<br><br><br>::fn="/tmp/test.jpg":<br>::va="master bedroom":<br>::uc="/usr/local/bin/exiftool -q -iptc^AObjectName=\'"{va{"\'"&lt;fn:<br>::system noredraw uc:<br></blockquote><br>I'm not on a *nix box at the moment, but IIRC the problem is that you need <br>to use a triple-backslash-quote in order for the shell to see backslash-quote.<br><br>See, for example:<br><br><br><a href="http://stackoverflow.com/questions/13689738/keeping-double-quotes-when-passing-string-to-popen-in-c">http://stackoverflow.com/questions/13689738/keeping-double-quotes-when-passing-string-to-popen-in-c</a><br><br>(Yes, it's an article about "popen" and not "system", but the same basic <br>rules apply.)<br><br>I believe you need:<br><br> &nbsp;&nbsp;&nbsp;&nbsp;uc="/usr/local/bin/exiftool -q -iptc:ObjectName=\\\'"{va{"\\\'"&lt;fn<br><br>As I said, I'm not on a *nix box at the moment, so I can't test it, but it <br>should be a simple test for you to try.<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></div><br></body></html>