I think Dave was thinking you want to turn the dowels from square
stock. Assuming you already have the dowels and only want to cut them
to length, Lew has good advice. I would only add that you can do the
same thing, with a slightly rougher result, on the band saw, but you
must incorporate a clamp into a v notch sled, which could run in the
miter slot of your saw, or else the blade will be likely to grab the
dowel and try to turn it, jamming the blade and possibly injuring you
and or the blade and saw.