summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/couchdb.bat.tpl.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/couchdb.bat.tpl.in b/bin/couchdb.bat.tpl.in
index 9be38137..2f16b2a7 100644
--- a/bin/couchdb.bat.tpl.in
+++ b/bin/couchdb.bat.tpl.in
@@ -12,7 +12,9 @@ rem License for the specific language governing permissions and limitations
rem under the License.
setlocal
-rem First change to the erlang bin directory
+rem First change to the drive with the erlang bin directory
+%~d0
+rem then change to the erlang bin directory
cd %~dp0
rem Allow a different erlang executable (eg, werl) to be used.