looking for script to import the whole folder of 3ds models into the max scene

I’m looking for script to import the whole folder of 3ds models into the max scene.
Anyone knows this kind of tool?


(
	fn importEntireDir theDir wildStr =
	(
	setWaitCursor()
	if theDir!=undefined then
	(
		local fname=theDir+"\\"+wildStr
		local fArr=getFiles fname
		if fArr.count!=0 then
		(
			for f in fArr do
			(
				try(
					format "Importing: %\n" f
					importFile f #noprompt
				)catch( print "failure while importing the files")
			)
		)
	)
	setArrowCursor()
	)

	importEntireDir "C:\3dsmax08\export" "*.3ds"
)

edit the bottom line where it says ’ importEntireDir “C:\3dsmax08\export” “*.3ds” ’ to suit what/where you are looking to mass import.

Thank you kindly Dave