Problems trying to render in the background

Hi,

I’m trying to render a blend file in the background, without starting Blender and from the console. According to blender (blender -h), I have to use the -b option. When I try

blender -b file.blend

Blender writes ‘Blender quit’ and exits without generating any file. The file I am using renders correctly if i push the anim button inside Blender and generates a correct AVI.

Any ideas?

Thank you!

Use the “-a” switch to tell Blender you want to render an animation.

-a Render animation
-s <frame> Set start to frame <frame> (use with -a)
-e <frame> Set end to frame (use with -a)<frame>