I'm not a batch file expert (or user), but I think you need to use the
call command since you're calling a batch file from within a batch
file. This may help:
http://www.computerhope.com/batch.htm
Or Google something appropriate. :)
Cheers,
Bobby
On Feb 4, 2010, at 6:55 PM, glassfish_at_javadesktop.org wrote:
> I'm trying to do something very simple like this in a batch file
>
> asadmin start-domain domain1
> asadmin deploy C:\dumb\dumb1.war
> asadmin deploy C:\dumb\dumb2.war
>
> But my batchfile calls never get past any asadmin call. In other
> words, whatever the first line in the batchfile is that has an
> asadmin call, that's the last line of the batchfile that gets
> executed.
>
> Is there a way to get around this?
> [Message sent by forum member 'wes371' (colleyw_at_uah.edu)]
>
> http://forums.java.net/jive/thread.jspa?messageID=384889
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>