I want to filter directories and files by what they start with.
var result = DirectoryList(arguments.path, false, "query", arguments.filter & "*|" & arguments.filter & "*.*");
I am thinking this covers all scenarios because file sometimes don't have extensions and directories sometimes do. I don't think it can be simplier