From: Jorrel Date: 2008-11-25T08:56:52+09:00 Subject: Re: Can you run a command line script with arguments, without typing 'ruby' first? How about creating a .bat file with: ruby my_script %* At least, I think it's %*. On Tue, Nov 25, 2008 at 5:55 AM, Kyle Schmitt wrote: > On Mon, Nov 24, 2008 at 3:39 PM, 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. >> >> The rubyscript2exe suggestion worked. Thanks Glen >> >> Thanks everyone for the feedback > Jayson, hum. I guess that makes sense. Now that I'm thinking back I > never used command line options on my windows-ruby stuff, and I do > recall having to go through extra (extra ugly too) hoops to get some > of my vbscripts to read options from the command line properly. The > rubyscript2exe is probably the best way to go anyway :) > > -- jorrel