Ron Stone wrote:
> I have been experimenting with Ruby.
> I have set file extension .rb to invoke /bin/ruby.exe
>
> If I run a Ruby program as follows, all is well: (my help is displayed)
>
> ruby myprog.rb -h
>
> If I run the program thus, the options are not passed to the program: (the
> program just runs)
>
> myprog.rb
>
> Is this normal? Is there a way to pass the options with this invocation
> type?
You've posted to a newsgroup for basic tech support of the Windows XP
operating system. You need to find a newsgroup for Ruby programmers.
This Google search will help:
My apologies.
I thought that the recognizing the file extension and invoking the
appropriate program (Ruby or otherwise) would be an XP thingy.
I'll try the Ruby forums.
Thanks.
"Malke" <notreally@invalid.invalid> wrote in message
news:eTZsPmhcHHA.4872@TK2MSFTNGP03.phx.gbl...
> Ron Stone wrote:
>> I have been experimenting with Ruby.
>> I have set file extension .rb to invoke /bin/ruby.exe
>>
>> If I run a Ruby program as follows, all is well: (my help is displayed)
>>
>> ruby myprog.rb -h
>>
>> If I run the program thus, the options are not passed to the program:
>> (the program just runs)
>>
>> myprog.rb
>>
>> Is this normal? Is there a way to pass the options with this invocation
>> type?
>
> You've posted to a newsgroup for basic tech support of the Windows XP
> operating system. You need to find a newsgroup for Ruby programmers. This
> Google search will help:
>
> http://www.google.com/search?hl=en&q...=Google+Search
>
>
> Malke
> --
> Elephant Boy Computers
> www.elephantboycomputers.com
> "Don't Panic!"
> MS-MVP Windows - Shell/User