Perhaps you can do something as simple as:
java -cp . com.yourcompany.ClassName
It really comes down to what you want to do. Do you need to build up a class
path? Do you need to turn of echoing?
You may want to find a tutorial on writing batch files to see what you can do.
I strongly suggest looking into the executable JAR mechanism as the way for
launching your applications. It is much
more elegant. You can find out more about executable JARs in the JavaDocs.