Rajinder Yadav wrote in post #958380: > On 10-10-30 05:34 AM, Kaye Ng wrote: >> it onto ruby.exe ? >> >> Thanks geniuses. >> > > just put "C:\Ruby192\bin" at the end of your path environment, open up > cmd.exe in the folder where the example lives, and then type > > 'ruby.exe example1.rb' > May I ask why 'ruby.exe example1.rb' when 'example1.rb' alone is sufficient? beginner here =) no knowledge whatsoever. i'm using windows xp, what i do is: c: c:\Ruby192\Practice (that's where i keep my sample program) then type example1.rb and it works exactly like the 'ruby.exe example1.rb' but I was just wondering why you suggested that. is it a conventional way or something? I'm still not sure why ruby.exe exists in the bin folder, I find testing programs in command prompt a lot easier....and i don't feel like using SciTE.exe (text editor) either.... -- Posted via http://www.ruby-forum.com/.