on-internet
← Community

Relative paths in windows batch file

Stack Overflow ·

This seems to be the directory where my batch file my-build resides. Program\ my_app\ javasdk\ java-build.bat app\ my-build.bat I want to run from my batch file 1. Move one level up and run java-build.bat 2. And then run one more command in app dir I tried cd .. javasdk\java-build cd.. app\my-build app- antbuild.bat -D env.myAppjars= C:\Source\abcd\my-app\app\lib I am getting some errors. Am I doing it correct? How can I use relative path instead C:\Source\abcd\my-app\app\lib

Comments

Sign in or sign up to comment and upvote.

No comments yet.