The win for the world's sixth-ranked team over the seventh also kept New Zealand unbeaten in Rotterdam, and came off back-to-back defeats to Spain in warmup games.
Spain had eight shots on goal to three by the Black Sticks, had 26 circle penetrations to 17 and 66 per cent of possession to 34 per cent in the opposition half.
"It was an advantage to get a goal early," Batch said.
The result puts New Zealand into the finals in Delhi next year and one win away from securing a spot at next June's World Cup in The Hague, with the top three finishers guaranteed a place in that tournament.
Ninth-ranked Belgium beat Ireland 6-3 to take their place in the semifinals, while world No2 Australia, with a 5-1 win over India, will play either hosts the Netherlands or outsiders France in the other semi.