batch import models / quick render / close

Hello,
I am looking into a simple way to batch import models ( dff, there s a script) quick render them , close the model and again with the next.
Any hint ?

P.S:
This is what I got :

#!BPY 

""" Registration info for Blender menus: 
Name: 'VRML batch loader'
Blender: 237 
Group: 'Import' 
Tooltip: 'Loads all .wrl files from a user defined folder' 
"""
#--------------------------------------------------------------------------
# Author Ewout                                     - Version 1.0 -  5 Aug 05
# Using Blender file dialog: b2b revision by Ewout - Version 1.1 - 16 Aug 05
#--------------------------------------------------------------------------
# The purpose of this script is to automatically load wrl (VRML) files,
# saved out from Solidworks assemblies as individual part files, from a
# source folder.When finished loading save as .blend before continuing.
#
# Depending on the source of the VRML files, you may have some empty files,
# which results in a message from blender: "ERROR: Found no data"
# just keep your mouse moving and ignore this message :o)
#--------------------------------------------------------------------------
# Copyright 2005. Not for resale.


import Blender
import sys
import os
print "loading script"

filename = ""

def f(name): # file selector callback
  global filename
  filename = name

  path = Blender.sys.dirname(filename)
  ext = '.wrl'
  print "Searching " + path
  for filename in os.listdir(path):
     if filename.endswith(ext): #check to make sure its a wrl file
       Blender.Load(path + "/" + filename)
  print "finished"

Blender.Window.FileSelector(f, "Open files in this dir")

Thx,
Gab-

Just saw a post like this on the blender.org forums, different poster I think.
http://www.blender.org/forum/viewtopic.php?p=58828
I wrote a batch importer for stl files, it may help with the batch side of things, although I dont use wrl so you would have to replace the part of my script which creates the mesh with code to load/parse each wrl
You can get my batch stl script here:
http://www.blender.formworks.co.nz/
I hope it helps.
lobo_nz.

thanks lobo_nz very cool scripts .
I’ll check,
Gab-