[Jprogramming] Open file with associated application
Sherlock, Ric
R.G.Sherlock at massey.ac.nz
Thu Jul 12 11:25:40 HKT 2007
Thanks for that informative answer. I had got there in the end with
Oleg's help. The key bit of information that I hadn't twigged to was the
alternative delimiter: 127{a.
I was trying to create 2 parameters for winexec with only " and/or *,
while also enclosing filenames with quotes, and couldn't see a way to do
it. From your post I've now also discovered that 'DEL' is a standard
noun for 127{a. (like 'LF' etc).
On the bright side my floundering helped me to stumble on an error in
win32api.dat that can now hopefully be corrected!
> -----Original Message-----
> From: programming-bounces at jsoftware.com
> [mailto:programming-bounces at jsoftware.com] On Behalf Of bill lam
> Sent: Thursday, 12 July 2007 15:17
> To: Programming forum
> Subject: Re: [Jprogramming] Open file with associated application
>
> bill lam wrote:
> > wd 'winexec ',DEL,'"cmd /C "C:\Documents and Settings\bill\My
> > Documents\bill.xls"',DEL,'sw_hide'
> sorry typo,
> wd 'winexec ',DEL,'cmd /C "C:\Documents and Settings\bill\My
> Documents\bill.xls"',DEL,'sw_hide'
> --
> regards,
> bill
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
More information about the Programming
mailing list