Sherlock, Ric wrote:
On the bright side my floundering helped me to stumble on an error in
win32api.dat that can now hopefully be corrected!
alternatively, you can use window api to open documents without using wd so that
it also works under jconsole, eg.
uucp=: u:@:(7&u:)
SW_SHOWNORMAL=: 1
NB. invoke shellex open document file
shellex=: ''&$: : (4 : 0)
NB. x default path
NB. y file
'shell32 ShellExecuteW i i *w *w i *w i'&cd 0 ; (u:'open') ; (uucp y) ; 0 ;
(uucp x) ; SW_SHOWNORMAL
)
shellex 'C:\Documents and Settings\bill\My Documents\bill.xls'
--
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm