Automatic Import to Export

I’ve been wondering about this for some time, but never got tired enough to ask till now.

I do all my work in an old copy of 3ds Max 2010, but I work with Ogre Mesh files and no Max program has the ability to import them that I am aware of. So what I do is this:

  1. I upgrade and convert my .mesh files to an importable format for Blender. (.mesh.xml)

  2. I import that file into Blender and Export it as OpenCollada 1.4 because I found that to have the least amount of problems between Blender 2.49b and 3ds Max 2010.

  3. I open it Import it into Max and go from there.

These steps wouldn’t be a problem if I only did ~10 files, but sometimes I have around 50 to do and it is extremely time consuming. I solved step 1 by writing a "For Loop"in a batch file to drag all those file into 2 .exe’s.

Step 2 is where you guys come in though, because this is the only thing I use Blender for. I was wondering if there is a way to automate this for multiple files. Right now I just drop all the meshes into a folder and double click a batch file to convert them all. I would like to add this process to that step since it is most time consuming.

Thank you very much for any help.