This might be a limit of "winexec".  Try this for comparison:
   load 'task'
   windosh=: 13 : 'shell _2}.;y#<''cd&&'''
   windosh 999

Also, a version
windo1=: 4 : 0
   wd 'winexec "cmd /C ',(_2}.;y#<x,'&&'),'";'
)

works for
   'cd windo1 254
but not
   'cd' windo1 255

The "/C" runs a command, then exits so this indicates it might not be a "
cmd.exe" problem per se.

On 12/18/07, Paul Gauthier <[EMAIL PROTECTED]> wrote:
>
> Anyone knows what the limit in J/Windows is here ?
>
> Try doing a simple verb as:
>
> windo=: 3 : 0
> wd'winexec "cmd /K ',(_2}.;y#<'cd&&'),'";'
> )
>
> Then try: windo 254
> Several times and it works fine.
> Now try: windo 255
>
> I get an error message saying:
> "J has encountered a problem and needs to close. We are sorry for the
> inconvenience." etc.
>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to