From: Jeff Wood Date: 2005-08-30T04:14:29+09:00 Subject: Re: New to Ruby Or, simply click start, then run and then type "cmd" in the box and hit enter... That's the fastest way to a command prompt without adding a shortcut to your desktop or quicklaunch bar... j. On 8/29/05, William James wrote: > > Steve wrote: > > I'm new to ruby and programming (although I did dabble in BASIC with my > > Commodore 64 back in the 80's) I'm running Ruby with Windows XP. I'm > > having a problem when I run this simple program: > > > > puts 'Hello, world!' > > puts ' ' > > puts 'Good-bye' > > > > When I run the program, a window appears that says "Hello, world! Good-Buy" > > and then the window immediately disappears. How do I get that window to > > stay open after it has run the program? > > > > Thanks for your help, > > > > Steve > > First, start a DOS-box (or command-line interface): > > Start / All programs / Accessories / Command Prompt > > Assuming your path is set correctly, then type: > > ruby myprog.rb > > > -- "So long, and thanks for all the fish" Jeff Wood