From: Cristi BALAN Date: 2006-09-09T04:07:29+09:00 Subject: Re: Ruby on Windows. On 9/8/06, Henry Savr wrote: > I have two problems with my Ruby for Windows (1.8.4): > > 1. When I double-click on a file with .rb extention a DOS-like window > appears and dissapears immediately. I am not able to see results. > In explorer, if you go to folder options, and click advanced for the .rb extension, you will see that it uses the following to open a .rb file: "c:\ruby\bin\ruby.exe" "%1" %* You can get the windows to stick around if you change that to: cmd.exe /K "c:\ruby\bin\ruby.exe %1 %*" I wouldn't recommend it tho, since you won't be able to accept files with spaces and justhaving the windows stick around is nasty. Better run your script from a cmd instance. > Thank you > Henry > > HTH -- Cristi BALAN http://evil.che.lu/ http://evil.chelu.ro/