Ric;
Nasty workaround:
pd 'save bmp 2500 700 C:\temp.bmp'
temp=:freads 'C:\temp.bmp'
temp fwrites 'C\Documents and Settings\.......\Desktop\flow-data.bmp'
ferase 'C:\temp.bmp'
Maybe this path situation could be looked at some point.
David
On Fri, 2008-08-22 at 15:26 +1200, Sherlock, Ric wrote:
> ---David Vincent-Jones wrote:
> > This works fine for me on my Linux system ... it was on my
> > client's Win
> > system that the problem occurred and I will need to get over there and
> > test at another time.
> >
> > Question: Are there problems related to paths with blanks within the
> > name ... ie. \john smith\Desktop ... Saving data files on
> > his system
> > went OK but maybe the bmp routine is balking!
>
> Yes you are right. The the png, jpg formats (require the platimg addon)
> handle paths with spaces as long as you enclose them in double quotes. I
> don't think the routines that write gif, tif (require the platimg addon),
> emf and bmp can handle paths with spaces at the moment.
>
> pd 'reset'
> pd i.5 24
> pd 'show'
> pd 'save png "c:\temp\new folder\test ping.png"'
> 1294380
> fexist 'c:\temp\new folder\test ping.png'
> 1
> pd 'save bmp "c:\temp\new folder\test ping.bmp"'
> |length error: isi_bmp
> | file=.>{.msk #arg
> pd 'save bmp c:\temp\new folder\test ping.bmp'
> fexist 'c:\temp\new folder\test ping.bmp'
> 0
> fexist 'c:\temp\new.bmp'
> 1
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm