How to pass a path with spaces to windows shell start?
lists at futilism.com
Thu Jan 8 13:30:55 EST 2009
I think quoting should help:
get shell("start" && quote & tProg & quote)
ps. Ken Ray gave us this function 'q' which is so useful to have in a
function q pString
return quote & pString & quote
On 8 Jan 2009, at 16:53, Tiemo Hollmann TB wrote:
> Once again for the windows guys: how do I pass a path with spaces,
> ".\program files\..." to a windows shell start?
> get shell("start" && tProg)
> works fine, as far as tProg has no spaces. When using e.g. C:\program
> files\foo, windows sees only C:\program as the first parameter (the
> prog to
> be started). Setting the whole path into quotes doesn't works either,
> because that would be a window title for the start command.
> Hmmm must be something very basic what I don't see.
> Thanks for any hint
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
More information about the Use-livecode