AW: How to pass a path with spaces to windows shell start?

Klaus Major klaus at major-k.de
Fri Jan 9 03:37:36 EST 2009


Hi SparkOut,

> Because you need to wrap the part with a space in quotes, and the  
> first
> quoted item in the string is taken as a console window title, you  
> need to
> add an empty pair of quotes to "be the title" which is then ignored  
> and the
> second quoted string (your program path) will be executed.
>
> get shell ("start" && quote & quote && quote & tProg & quote)
>
> should work.

Ah, cool, I was also having trouble with this and could never find out  
why :-)
Thanks for this extremely useful hint!

>


Best

Klaus Major
klaus at major-k.de
http://www.major-k.de





More information about the use-livecode mailing list