[REBOL] Re: "browse" under view 1.2.10.3.1
From: atruter:labyrinth:au at: 2-Jul-2003 10:05
> set-browser-path "c:\windows\notepad.exe"
> browse "c:\temp\test.txt"
Which lets us replace call (and the black cmd box it briefly flashes up)
with:
call: func [cmd [file!] /arg arg1 [string!]] [
set-browser-path to-string to-local-file cmd
browse either arg [arg1][""]
]
;call %/c/winnt/notepad.exe
;call/arg %/c/winnt/notepad.exe "fred.txt"
I wonder how long we can rely on this "feature" being present. ;)
Regards,
Ashley