I won't be one of those who automatically think a bat is better than a knife because like any weapon, the effectiveness is determined by the skill of the wielder.
I'd rather defend myself from a knife attack with a bat if no gun were available. However, the circumstances that allow one to get the bat in time to do anything with it are usually road rage cases. No law abiding person I have ever seen routinely carries a bat. Many carry some sort of knife.
Now, everywhere but where I am prohibited by metal detectors, I have a knife. Sometimes a large folder, sometimes a small fixed blade. Were I to have to defend against the typical scum wielding a bat, I will grimly take my chances. I hate to run. I joined the Navy in part because there is no emphasis on running because there is nowhere to run to at sea.
Most people who will swing a bat will tend to overswing it. Most aren't going to be composed enough for convincing feints, jabs, or controlled swings. They mostly want the "home run." You just don't give it to them. I think if the experience or calmness is lacking in the batsman, an offensive bat wielder can be patiently closed with and stabbed into submission.
One of the drawbacks of the bat is the energy required to effectively employ it. Tire out the bat wielder and you will get sloppier and sloppier attacks to exploit in the counter-assault.
Its all in the tactics in my book.