> -----Original Message----- > On Behalf Of Devon McCormick > > I don't know how portable these are, but both of these work for me: > > 1) use "task": > load 'task' > shell_jtask_ '"C:\amisc\A name with embedded spaces.xls"'
This does work for me, but takes approx 20 seconds to start Excel and open the file! I'm not sure why it takes so long but the delay makes it impractical. > 2) write the command to a batch file and run that: > '"C:\amisc\A name with embedded spaces.xls"' fwrite > 'c:\amisc\runnwes.bat' > 42 > wd 'winexec "cmd /C c:\amisc\runnwes.bat" sw_hide' > 0 Haven't tried this but imagine it would work. Just seems a bit clunky! ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
