Can AppleScript get folder contents with file extension exclusion?
Try this :

tell application "Finder"
    set theFiles to files in folder (choose folder) whose name does not end with ".bat"
    reveal theFiles
end tell