Why did Napoleon attack Moscow and not St. Petersburg in 1812?

by snipazer

With St. Petersburg being the capital at the time, I would think he would want to take his armies there. Instead, he went even farther into the country to strike at Moscow. Why?

DonaldFDraper

Please look at this, this, and this post about this topic.