First of all make sure the link works. Please do not post broken links.
SCWCD requires you to be an SCJP first. And if you are an SCJP, then it is assumed that you know how to compile Java code. If you want to learn Java, then its better you start at the Java Beginners Forum and read some Java books first.
Based on assumption that, you want to create a build.bat file for using Ant, it would be good to download Ant and read the Ant manuals. Get a feel of the available Ant tasks and their functionality. Afterwards, this particular article might be useful to learn using Ant tasks http://www.informit.com/articles/article.asp?p=30183&seqNum=2&rl=1
I am not the one to teach you how to make use of an Forum, but certainly I have experienced that people don't like to spoon feed and don't usually help unless you have put some efforts first and done some homework by yourself.