The rail line from Munich vis Salzburg to Vienna is quite scenic as well, at least between Munich and Linz. If you sit on the right and the weather is nice, there are beautiful views of the "Voralpenland" (the country just in front of the Alps).
It's a bit quicker than going via Basel/Zurich.