On Sunday 14 July 2002 00:46, you wrote: > Here's a question for you. > > 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?) > > Now: How can I achieve this from > the command line? I.e., I want to > run foo.rb simply by typing its > name. (Yes, I spend a significant > amount of my Windows time at the > so-called DOS prompt.) > > I think there's a way. I think I > read about it once. But I can't > find it now. > > Thanks, > Hal Fulton It's possible with NT cmd.exe, not Win9x DOS Prompt (Or maybe there is?)