Hi,

From: "nkb" <nkb / pacific.net.sg>
>
> With ruby, I typed
> ruby mytestscript.rb > output.txt
> 
> The result still prints out to the standard microsoft commandline 
> console output and not to the file output.txt. How can I achieve the 
> output to a text file?

That's odd.... Which version of windows are you running?
On my win2k box,

ruby -e "puts 'hi'" > zz

...creates a file called "zz" with "hi\n" in it as expected.



Regards,

Bill