On Tue, Jan 12, 2016 at 8:00 AM, Klaus major-k <kl...@major-k.de> wrote:
> Hi Peter, > > > Am 12.01.2016 um 16:50 schrieb Peter M. Brigham <pmb...@gmail.com>: > > > > mdls doesn't like spaces in the file path. What do I do to escape spaces > here? > > Just QUOTE it: > … > put shell( "mdls" && QUOTE & tFilepath & QUOTE) into tFileInfo > using double quotes can cause variable substitution in the shell. Instead, put shell( "mdld '" & tFilepath "'") into tFileInfo will dom it without risking any substitution. And backticks (`) will cause anything inside them to be evaluated as a command -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode