From: Joe Seeley Date: 2006-08-17T22:35:57+09:00 Subject: Re: Command line arguments in windows ------=_Part_8564_3446674.1155821752487 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks to everyone for your input here. My ftype entry (rb_auto_file) was missing the %* on the end of it. In the past this must have been entered by default when I setup other associations, because I have not run into this in the past with other, possibly unmentionable, languages... On 8/17/06, Austin Ziegler wrote: > > On 8/16/06, David Vallner wrote: > > The opener for ruby could be set up to run "ruby %1", where %1 is only > the > > script file name. I don't have a Ruby installed on my Windows boot right > > now, but poke around the registry looking for what filetype the ".rb" > > extension is registered to, and then search for the name of the filetype > > to scrounge up what the command string is. > > C:\> ftype rbFile > rbFile="C:\Ruby\bin\ruby.exe" "%1" %* > > There may be a better choice, but that's what mine is set to with a > recent install of 1.8.4. > > -austin > -- > Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ > * austin@halostatue.ca * http://www.halostatue.ca/feed/ > * austin@zieglers.ca > > ------=_Part_8564_3446674.1155821752487--