I wonder how can I run a bat file from a relative path?
Our Testsuite is located in a git repository which results in different absolute paths per user.
Our folder structure looks like:
I'd like to run the root/Scripts/MyBat.bat out of a keyword in root/TestComplete/suite/KeywordTests/
How can I achieve this without using an absolut path to MyBat.bat ?
Thank you and kind Regards
Solved! Go to Solution.
You need to play with ..\ or %CD%
It's mostly a question to system admins
I'd go with @TanyaGorbunova 's suggestion. It's probably the easiest to implement.
Did you find the solution to the issue? Please share what you decided to use finally.
Great to hear that the issue is resolved. And thanks for sharing it with us!