Patrick Hurley wrote:
> The primary reason I would guess is that necessity of typing:
> 
> rdoc.rb
> 
> as cmd is not all that smart and will not execute rdoc.rb, unless you

But it will!

As Iouri wrote, .rb is added to the PATHEXT which means that the 
extension isn't needed.