"Morris, Chris" <ChrisM / SNELLINGCORP.COM> writes:

> rb files are associated to ruby.exe - that works fine. If I set up a
> shortcut to an .rb file, then edit the shortcut to include command-line
> arguments, these are not passed in:
> 
> D:\Dev\myruby.rb -a blah -b blah -c blah
> 
> ..anyone know a way to do this?

It's a bug in the file association which is fixed in the 1.6.2
InstallShield version. You can do it yourself with a quick registry
hack. In HKEY_LOCAL_MACHINE\SOFTWARE\CLASSES change the rbFile\open
shell command to have "%*" at the end.


Regards


Dave