Renewable hydrogen and batteries are pivotal not only for promoting renewable energy adoption but also for serving as key components in electric vehicles. While multiple hydrogen-based and battery-based pathways exist for linking renewable energy to automotive powertrains, comprehensive evaluations of them are lacking, especially in the context of long-distance energy transmission in China. This study aims to fill this gap by offering an in-depth well-to-wheel (WTW) analysis of costs and CO2 emissions across various pathways. The pathways involve two energy storage mediums - hydrogen and battery, five transport options, and three automotive powertrains - Internal Combustion Engine Vehicle (ICEV), Fuel Cell Electric Vehicle (FCEV), and Battery Electric Vehicle (BEV). How the electricity price, storage duration, and transport distance influence these pathways is also examined. The results show that the battery-based pathway offers the lowest WTW cost and CO2 emissions in BEV applications. Hydrogen-based pathways are not economically feasible for ICEVs. Importantly, the indirect use of hydrogen in BEVs - H2 for power generation - outperforms its direct use in FCEVs and ICEVs in both cost and emissions. The battery-based pathway is significantly affected by storage duration and becomes less feasible for durations exceeding one day. The most cost-efficient hydrogen transport methods are identified for different transport distances and electricity prices. This research may provide valuable insights for the planning of the hydrogen industry, automotive decarbonization and renewable energy development in China.