From: nobu@... Date: 2006-08-17T15:54:44+09:00 Subject: Re: Command line arguments in windows Hi, At Thu, 17 Aug 2006 15:42:20 +0900, nobu@ruby-lang.org wrote in [ruby-talk:208901]: > At Thu, 17 Aug 2006 09:47:39 +0900, > Daniel Martin wrote in [ruby-talk:208880]: > > I suspect that your registry entry is missing the %* bit. Go open up > > regedit, find HKEY_CLASSES_ROOT\.rb, find that default value (probably > > rbFile, but if it isn't use that value where I say "rbFile"), then > > find the default on HKEY_CLASSES_ROOT\rbFile\Shell (probably "open"), > > then look at the default on > > HKEY_CLASSES_ROOT\rbFile\Shell\open\command and see if that includes > > the %* bit. If it doesn't, add it. > > IIRC, assoc command built in cmd.exe does it. Try assoc /?. Sorry, it was ftype. assoc .rb=rbFile ftype rbFile=ruby "%1" %* -- Nobu Nakada