Ant path error on Windows 8

I’ve followed the instructions here: http://learn.ionicframework.com/videos/windows-android/

but I jut get an error saying “Error: Failed to run “ant -version”, make sure you have ant installed and added
to your PATH.”

This is where ant is, and this is indeed added to my PATH:

C:\Ant\apache-ant-1.9.4\bin

I don’t get it. I’ve had loads of issues with this stuff on my Mac too. It’s the biggest barrier to using Ionic. DLing and actually using it is fine, if I use PhoneGap Build.