From: Liorean Date: 2002-03-17T21:31:17+09:00 Subject: Re: Newbie problem At 18:01 2002-03-17 +0900, nobu.nokada@softhome.net wrote: >Hmmm, then how do you run the script? In Command Prompt, >typing `ruby dice.rb'? or adding .rb to PATHEXT environment >variable and just `dice'? I believe this is how it's written in registry: "%ProgramFiles%/Ruby/1.6.5/bin/ruby.exe" "%1" Where %1 is replaced with the file in question. (I don't know if it uses root relative or directory relative references.) I just open the file in question, it opens up it's own console window (unless I open it consoleless, using rubyw.exe, which I don't in this case). // Liorean