[Jprogramming] wd and winexec
Devon McCormick
devonmcc at gmail.com
Fri Jun 17 23:36:23 HKT 2011
I like something like "fork" because it's more platform-independent. It
would be nice if it returned a PID, though.
On Fri, Jun 17, 2011 at 11:06 AM, David Mitchell <davidmitchell at att.net>wrote:
> The SH verb works for me on WinXP also:
>
> SH 'c:\t.txt'
> 42
> 'wordpad.exe' SH 'c:\t.txt'
> 42
>
> --
> David Mitchell
>
> On 6/17/2011 8:24, Devon McCormick wrote:
> > This works for me for J7 on Windows XP:
> > fork 'C:\Program Files\Microsoft Office\Office14\Excel.exe'
> >
> > On Thu, Jun 16, 2011 at 9:02 PM, William Szuch<bszuch at wsa-fincon.com.au
> >wrote:
> >
> >> In J602 I could execute various programs as part of a job when a script
> was
> >> loaded,
> >>
> >>
> >>
> >> Eg. wd 'winexec ...'
> >>
> >>
> >>
> >> This was used to open excel workbooks, word reports, notepad etc.
> >>
> >>
> >>
> >> As WD is not supported in J701 I have not been able to achieve the
> same
> >> functionality in J701.
> >>
> >>
> >>
> >> Any help greatly appreciated.
> >>
> >>
> >>
> >>
> >>
> >> Regards
> >>
> >>
> >>
> >> Bill Szuch
> >>
> >>
> >>
> >>
> >>
> >> ----------------------------------------------------------------------
> >> For information about J forums see http://www.jsoftware.com/forums.htm
> >>
> >
> >
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
More information about the Programming
mailing list