Link to home
Start Free TrialLog in
Avatar of padmasambhava
padmasambhava

asked on

Win7 Bat file exiting before all the commands are run.

Good afternoon Experts!

I've got a batch file that creates a grails app.

cd \users\peter
rd /s c:\users\Peter\.grails\2.0.3\projects\inventory
rd /s c:\users\Peter\inventory
grails create-app inventory
grails create-domain-class Inventory

The first 4 commands execute correctly but it exits before executing the create-domain-class.  How can I fix this?
ASKER CERTIFIED SOLUTION
Avatar of Frosty555
Frosty555
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of joef12345
joef12345

Try:
cmd /c grails create-app inventory
cmd /c grails create-domain-class Inventory
Avatar of padmasambhava

ASKER

Thanks!