For instance, the Austrian Federal Railway operates a pair of overnight trains from Innsbruck and Vienna to Dusseldorf and Hamburg, which also transport cars. The only possible routes you can take your car on are Innsbruck-Dusseldorf and Vienna-Hamburg.
Meanwhile, as a foot passenger you can also get on or off at an intermediate stop like Cologne or Munich.
Foot passengers can also travel Innsbruck-Hamburg or Vienna-Dusseldorf (as sleeping cars are switched between the two trains in Nuremberg, but car carrying wagons aren't).