From: Martin Weber Date: 2002-07-14T05:12:40+09:00 Subject: Re: .rb files in WIndows On Sun, Jul 14, 2002 at 04:49:11AM +0900, Hal E. Fulton wrote: > ----- Original Message ----- > From: "Ariff Abdullah" > To: "ruby-talk ML" > Sent: Saturday, July 13, 2002 1:28 PM > Subject: Re: .rb files in WIndows > > > > On Sunday 14 July 2002 02:00, you wrote: > > > > > 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" %* > > > > Sure, Xp inherited from NT and 'NT cmd.exe' tightly integrated > > with native win32 syscall, while win9x DOS 'command.com' is > > just a plain dos, it know nothing about win32 filetype assoc. > > Apparently correct. I can't do this on Win98 as I > have neither of these executables. I was just hit by what I would call a spark of inspiration. Try start.exe ? that really should be there, just searched a bit through the web before I wrote to you. Start.exe, not run.exe *mutter* I have found it I guess: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q126410 Quote: You can use the START command to open files if its extension is a registered file type in Windows. For example, if you type "start Readme.txt", Notepad is started and the Readme.txt file is displayed. Hah, gotta love a memory which still serves well for things that lie half a decade back and which you used about two times :) Good luck Hal (HTH finally), -Martin