I don't know if any of my wonton speculation was right, but I can reproduce the
problem on my system, and applying ucp to the literal passed to shell_jtask_
fixes it:
'iceland' fwrite fn =. jpath '~temp\','.txt',~195 166 { a.
7
fread fn
iceland
require'task'
shell 'copy "',fn,'" "',fn2=.jpath'~temp\ae.txt'
The system cannot find the file specified.
fread fn2 NB. Failure
_1
shell ucp 'copy "',fn,'" "',fn2
1 file(s) copied.
fread fn2 NB. Success.
iceland
Hope this helps,
-Dan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm