----- Original Message -----
From: "Nicolas Galler" <beaniegryphonmud.com>
To: "ruby-talk ML" <ruby-talkruby-lang.org>
Sent: Tuesday, August 19, 2003 12:02 AM
Subject: How to open a file in windows
app to> Hello,
> I am trying to offer a way to play audio files from my ruby program (by
> running the appropriate application, not actually embedding a player :)
> It's not really a problem under unix but under windows I would like theOn Win98 there's a "start" executable that will crank up> automatically use the 'default' player for the type of files - is there a
> straightforward way to do that?
the app associated with the file given as a parameter.
Don't know if it exists in more modern Windowses. But
those do have assoc and ftype or some such... with the
help of those, you might just "execute" the .wav or
whatever as though it were a .exe -- but I'm only