batch file not running completely -
i have below batch file
cd c:\batchtest\a\a-app mvn dependency:tree > a.txt cd c:\batchtest\b\b-app mvn dependency:tree > b.txt
while running giving below output
c:\batchtest>abcd c:\batchtest>cd c:\batchtest\a\a-app c:\batchtest\a\a-app>mvn dependency:tree 1>a.txt c:\batchtest\a\a-app>
it not running last 2 commands. missing here?
thanks help.
mvn
bat file - so you need invoke call mvn..
:
@echo off cd c:\batchtest\a\a-app call mvn dependency:tree > a.txt cd c:\batchtest\b\b-app call mvn dependency:tree > b.txt
Comments
Post a Comment