problem with Ant

I've been trying to run ant throught the command line but I get the following error message:

ANT_HOME is ser incorrectly or ant could not be located.

I have set ANT_HOME to the location where i unzipped the apache-ant-1.6.2 zip file(c:\ant)

I have also set the classpath to %ANT_HOME%\BIN and added %ANT_HOME%\bin to the path variable.

Can someone please tell me what the problem might be and how I could fix it.

[445 byte] By [karabasa] at [2007-10-1 9:55:54]
# 1
Which OS and which SDK version?
tschodta at 2007-7-10 2:21:51 > top of Java-index,Developer Tools,Java Compiler...
# 2
Setting ANT_HOME and JAVA_HOME should work.It works for me if I put this into the starting script: set ANT_HOME=c:\utils\apache-ant-1.6.2set JAVA_HOME=C:\langs\java\j2sdk1.4.2_04
BIJ001a at 2007-7-10 2:21:51 > top of Java-index,Developer Tools,Java Compiler...