From: Phillip Gawlowski Date: 2010-10-30T19:31:11+09:00 Subject: Re: What does ruby.exe do? On Sat, Oct 30, 2010 at 11:34 AM, Kaye Ng wrote: > In my folder C:\Ruby192\bin , there is ruby.exe > > What is it and what does it do? In light of what you wrote below: Take a guess... > The book I'm reading gives an option of running Ruby > this way: > create a shortcut to the Ruby executable file (ruby.exe) > and drop your source code file(s) onto it. > > If i have saved a file named example1.rb, how do I 'drop' > it onto ruby.exe ? The way you drag and drop files when copying them, except you release the mouse button on your ruby.exe (icon or actual program). Note, though, that unless you source code calls for input or pauses execution, you'll only see the DOS prompt flashing on your screen (unless your source code takes a while to complete, anyway). -- Phillip Gawlowski Though the folk I have met, (Ah, how soon!) they forget When I've moved on to some other place, There may be one or two, When I've played and passed through, Who'll remember my song or my face.