There is a tool that ships with the CAN driver (don't remember from which version ?) that does exactly that.
Assuming that a can interface is installed in your computer :
1) Run Measurement and Automation Explorer
2) Right click on the CAN interface --> Properties
3) Click on Advanced >>
4) Click on Baud Rate...
5) Enter the baud rate and then click Create List