From: Jayson Williams Date: 2008-11-26T02:16:54+09:00 Subject: Re: Can you run a command line script with arguments, without typing 'ruby' first? Daniel, I don't believe these arguments are included in the association. I am not sure how to add them. On Tue, Nov 25, 2008 at 12:00 PM, Daniel Schömer wrote: > Jayson Williams wrote: >> The associations are correct. I reset them just to be sure though. I >> can execute the script without ruby, and it runs, but without ruby >> first, the args are not getting read. > > Are command-line arguments included in the file association? > There should be something like "...\ruby.exe" "$*" or > "...\ruby.exe" "%1" "%2" "%3" "%4" "%5" (up to %9, this form is > restricted to 9 arguments). > > Daniel > >