From: "Bernard Delmée" Date: 2002-07-14T03:00:02+09:00 Subject: Re: .rb files in WIndows > > When you double-click on a > > .rb (or .rbw) file in Windows, > > it associates it with Ruby and > > runs it properly. Well and > > good. (I think this trick is > > accomplished by Andy's installer?) > It's possible with NT cmd.exe, not Win9x DOS Prompt > (Or maybe there is?) > I think you're right; I don't know about XP, though. See the 'assoc' and 'ftype' commands; on my Win2k box: C:\>assoc .rb ..rb=rbFile C:\>ftype rbfile rbfile="C:\ruby\bin\ruby.exe" "%1" %*