I think France would have gone communist if we hadn’t put De Gaulle in power there. And I’m not sure we could have done it without the D-Day invasion.
From what I've read, it was more like De Gaulle seized the opportunity himself. Luckily we had enough folks with brains that considered him a better alternative than the communists and bucked our own state department, allowing him to do it.