Something like this might do the trick.
You need to include or call the DirList UDF in the script.

Code:
Break on

$xlsfiles = DIRLIST("c:\*.xls",2)

For Each $xlsfile in $xlsfiles
	;do some stuff here.
Next


DirList() - Returns an array with a list of files in a given directory
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.