runnodes.bat returns the user to the original directory.

This commit is contained in:
Clinton Alexander 2017-01-05 16:07:31 +00:00
parent 857de9df49
commit b49c97d409

View File

@ -1,10 +1,12 @@
@echo off @echo off
REM Change to the directory of this script REM Change to the directory of this script (%~dp0)
cd /d %~dp0 Pushd %~dp0
FOR /R ".\" %%G in (.) DO ( FOR /R ".\" %%G in (.) DO (
Pushd %%G Pushd %%G
start java -jar corda.jar start java -jar corda.jar
Popd Popd
) )
Popd