posted 16 years ago
It depends on a lot of factors. First, who has to maintain your scripts? If everyone else on your team is competent with bat file scripting, but doesn't understand Groovy, then you're going to be creating code that no one else can maintain.
If the people you work with do understand Java or Groovy, then you have to ask yourself "which language makes me more productive, and which language is easier to maintain ?".
HTH!