Command not working in .bat file
Last answer on Dec 2, 2008 4:44:18 pm GMT jsfgeeks, on Dec 2, 2008 11:04:16 am GMTHello,
I am developing a JSF application. I need to make batch file for that. So that when the user clicks on it, it automatically starts the glassfish server, deploys the war file and starts the browser with the project window.
I can do this in cmd prompt like below;
Step-1 : cd Goto bin directory of glassfish
Step-2 : asadmin start-domain domain1
Step-3 : asadmin deploy --user admin path-of-war-file.war
Step-4 : @start "" /b "iexplore.exe" http://localhost:8080/projectname/
I can achieve that from cmd prompt, but when I tied it in batch file then after starting the server, it quits the batch file and not executing the commands for deploying and starting browser.
Can anyone help me out ???
Thanks in advance,
JSF GEEKS
Configuration: Windows XP Firefox 3.0.4

