[REBOL] Re: can't call notepad
From: anton:wilddsl:au at: 14-May-2008 17:35
Your first and second examples filename will be loaded by rebol
as type url!, so this could cause problems with unintended percent
encoding of urls.
I would avoid that way.
Instead, you could use string! (as you have) for Windows local paths,
or convert rebol file! types to Windows local paths.
call rejoin ["notepad.exe " "c:\rebol\fred.txt"]
call rejoin ["notepad.exe " to-local-file %"/c/rebol/fred.txt"]
Note you might have to surround the local path with quotes when it
contains a space.
call rejoin [
to-local-file %"/c/program files/fred.txt"
Something like that.
Rosemary de Dear wrote: