How do I modify the RunWeka.bat file?

Check out the Invocation section of the Java Virtual Machine article.