On Monday, 16-July-2007 at 16:25:13 Anton Rolls wrote,

>That makes sense. What directory does the shell opened by
>rebol think it's in ?
>
>>> call/console "cd"
>D:\Anton\Dev\Rebol\View
>== 0
>
>Maybe convert.exe is not to be found in that directory.

Nope...

>> call/console "CD"
c:\program files\rebol\view

I didn't know it needed to be, since I'm in "c:\Documents and Settings\..." 
when using Windows' Command Prompt, and it works.

The REBOL docs for Call could do with more real-world examples - though I can 
understand why they're not there...

-- Carl Read.
 

>Anton.
>
>> Ahah - yes, that does work!  And for the record...
>> 
>> call {"c:\program files\ImageMagick-6.3.5-Q16\convert.exe" 
>> c:\pic.jpg c:\pic.png}
>> 
>> And I'd tried something similar to begin with, but I guess I had 
>> the paths wrong somehow, so switched to trying to get it to work 
>> how they say in the manual.
>> 
>> You'll note the app's not called ImageMagick though.  This is a 
>> suite of about 16 programs.
>> 
>> Anyway, thanks Gregg - you put me on the right track.
>> 
>> -- Carl Read.

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to