well.... DIRPlus() is the Swiss Army knife of directory UDF's \:\)

$Directory = DirPlus($Path,'/a-d /f cmd /m file')

will only return a list of "*.cmd" files that have the word "file" in them.