"a stick, a club," Old English *batt "cudgel," perhaps from Celtic (cf. Irish and Gaelic bat, bata "staff, cudgel"), influenced by Old French batte, from Late Latin battre "beat;" all from PIE root *bhat- "to strike." Also "a lump, piece" (mid-14c.), as in brickbat. As a kind of paddle used to play cricket, it is attested from 1706.
Phrase right off the bat is 1888, also hot from the bat (1888), probably a baseball metaphor, but cricket is possible as a source; there is an early citation from Australia (in an article about slang): "Well, it is a vice you'd better get rid of then. Refined conversation is a mark of culture. Let me hear that kid use slang again, and I'll give it to him right off the bat. I'll wipe up the floor with him. I'll ---" ["The Australian Journal," November 1888].
flying mammal (order Chiroptera), 1570s, a dialectal alteration of Middle English bakke (early 14c.), which is probably related to Old Swedish natbakka, Old Danish nathbakkæ "night bat," and Old Norse leðrblaka "leather flapper," so original sense is likely "flapper." The shift from -k- to -t- may have come through confusion of bakke with Latin blatta "moth, nocturnal insect."
Old English word for the animal was hreremus, from hreran "to shake" (see rare (adj.2)), and rattle-mouse is attested from late 16c., an old dialectal word for "bat." As a contemptuous term for an old woman, perhaps a suggestion of witchcraft (cf. fly-by-night), or from bat as "prostitute who plies her trade by night" [Farmer, who calls it "old slang" and finds French equivalent "night swallow" (hirondelle de nuit) "more poetic"].
"to move the eyelids," 1847, American English, from earlier sense of "flutter as a hawk" (1610s), a variant of bate (v.2) on the notion of fluttering wings. Related: Batted; batting.
"to hit with a bat," mid-15c., from bat (n.1). Related: Batted; batting.
go to bat against, go to bat for, have bats in one's belfry, like a bat out of hell, right off the bat, take off like a bigass bird
The Hebrew word (atalleph') so rendered (Lev. 11:19; Deut. 14:18) implies "flying in the dark." The bat is reckoned among the birds in the list of unclean animals. To cast idols to the "moles and to the bats" means to carry them into dark caverns or desolate places to which these animals resort (Isa. 2:20), i.e., to consign them to desolation or ruin.