I think quoting should help:

get shell("start" && quote & tProg & quote)

Best,

Mark

ps. Ken Ray gave us this function 'q' which is so useful to have in a library somewhere:

function q pString
  return quote & pString & quote
end q

On 8 Jan 2009, at 16:53, Tiemo Hollmann TB wrote:

Hello,

Once again for the windows guys: how do I pass a path with spaces, like
".\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

Tiemo







_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to