Rendering from console in 2.5

I went into the console in Blender 2.5 and typed in

>>> bpy.ops.screen.render()

and then pressed enter but then windows came up with that “blender.exe has stopped working” thing.

I just wondered whether you could do that with the console or not.

I’m running windows Vista by the way.