That is why I am able to access dependency-check.bat file from other folders also.
My directory structure looks similar to as you have written.
C:\dependency-check-1.2.1-release\licenses
C:\dependency-check-1.2.1-release\bin
C:\dependency-check-1.2.1-release\repo
In fact when I ran the dependency-check.bat file for the first time, it got executed and a data folder also got created as "C:\dependency-check-1.2.1-release\data".
Two files with names "cve.2.9.h2.db" and "cve.2.9.trace.db" are created in data folder but the analysis did not happen. I got an error something like mentioned below.
WARNING: Unable to update Cached Web DataSource, using local data instead. Results may not include recent vulnerabilities.
org.owasp.dependencycheck.Engine analyzeDependencies
SEVERE: Unable to connect to the database
After that I again tried executing the bat file, but every time I am getting below error.
C:\dependency-check-1.2.1-release\bin>dependency-check.bat --app "test" --scan "C:\ThirdPartyJars"