[REBOL] Re: can't call notepad
From: santilli:gabriele:gm:ail at: 14-May-2008 12:04
On Wed, May 14, 2008 at 9:35 AM, Anton Rolls <anton-wilddsl.net.au> wrote:
> Instead, you could use string! (as you have) for Windows local paths,
> or convert rebol file! types to Windows local paths.
> Eg.
>
> call rejoin ["notepad.exe " "c:\rebol\fred.txt"]
Actually, CALL can do the conversion automatically when you use a block!:
>> call/console ["echo" %/c/file.txt]
c:\file.txt
== 0
>> call/console ["echo" %/c/file with spaces.txt]
c:\file with spaces.txt
== 0
Regards,
Gabriele.