The script after fourth line does not run. If i comment out the fourth line, all commands work. I think script switches to dx.bat file and does not return to caller bat. Here is the script:
set ref_path=C:\Users\xyz\Desktop\
cd C:\android-sdk\sdk\build-tools\android-4.4.2
dx.bat --dex --verbose --core-library --output=%ref_path%classes.zip %ref_path%tmp\classes
cd C:\Users\xyz\Desktop\
7z x C:\Users\xyz\Desktop\SP.war -oC:\Users\xyz\Desktop\SP -r -y
How can I make this script work?