# How can I convert a file with the command line?

I want to convert a file from VRML to FBX without rendering the model using blender. Is this possible via command line?

edit: I'm working on windows and tried the following: I added the blender directory to my path environment variable. After that I wrote a .bat script with the following content:

start "" blender test.vrml --background --C:\Program Files\Blender Foundation\Blender\2.76\scripts\addons\io_scene_x3d\import_x3d.py -- foobar.blend
start "" blender foobar.blend --background --C:\Program Files\Blender Foundation\Blender\2.76\scripts\addons\io_scene_fbx\export_fbx.py test.fbx


Unfortunately this opens a lot of windows until my windows crashes. I think the error is my lack of knowledge about .bat scripts :-(.

#!/bin/sh