That sounds like a much better method than I was going to suggest :P I was just going to suggest running with the -classpath switch as in:

Code:
java -classpath .\mydir myclass
If you have any packages, you just add them after mydir separating each with a semicolon. But I would think that the above method suggested by Juridian is probably much easier/better.

I'm in the middle of writing a java program that will handle the creation of batch files for you, I'm just struggling with the design on the gui at the moment. As soon as I get a working version I'll post it to code review.

ac