On Wed, Dec 12, 2012 at 7:59 AM, Staffan Tylen <staffan.ty...@gmail.com> wrote:

> OK thanks, but if I make life a bit more complex by saying that the file
> name is abc.def and it should be opened in the default browser, how could
> that be done when 'def' is not a known extension?

You could only do it if you, the programmer, know what the default
browser is.  You then pass a string to the outside environment that is
the same as you yourself would use to start the program from the
command line.

ooRexx has no special way of knowing what the default application is
for anything.

Windows uses a process of launching a default application that relies
on file extensions.  If you set up a ftype for the .def extension,
your Rexx programs can make use of the operating system, otherwise it
can't.

--
Mark Miesfeld

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to