You could try wd 'winexec *start "path/to/file"'
See also in forum earlier. On Jul 11, 2007, at 3:15 AM, "Sherlock, Ric" <[EMAIL PROTECTED]> wrote: I want to open a file with the application associated with that file extension. E.g. I have an Excel file (*.xls) and I want to open it in Excel. If the file name doesn't contain any spaces then the following works on Windows. wd 'winexec "cmd /C ',filename,'" sw_hide' How can I accomplish something similar if the file name contains spaces? Is it possible to come up with a platform agnostic version? ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ____________________________________________________________________________________ Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/ ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
