NBC from 1958 to 1961.
Bat Masterson A fictionalized account of the life of real-life marshal/gambler/dandy Bat Masterson. The title character was played by Gene Barry and the half-hour black-and-white shows ran on NBC from 1958 to 1961.
The show took a tongue-in-cheek outlook, with Barry's Masterson often dressed in expensive Eastern clothing and preferring to use his cane rather than a gun to get himself out of trouble, hence the nickname "Bat". Masterson was also portrayed as a ladies' man who traveled the West looking for women and adventure.
The black derby, fancy vest, black jacket, and elegant cane were his trademarks. Miniaturized versions were marketed to children as tie-in products during the run of the show.