diff --git a/RegisterEngineLocation.bat b/RegisterEngineLocation.bat index 56ccc496c..bb1a915a3 100644 --- a/RegisterEngineLocation.bat +++ b/RegisterEngineLocation.bat @@ -3,7 +3,7 @@ rem Copyright (c) 2012-2020 Wojciech Figat. All rights reserved. setlocal -pushd +pushd %~dp0 echo Registering Flax Engine project files... rem Check the current versions config @@ -20,7 +20,7 @@ goto Done rem Register the location (append to the end) :notfound -echo Location '%EngineLocation%' is not registered. Adding it to the lsit of engine versions. +echo Location '%EngineLocation%' is not registered. Adding it to the list of engine versions. echo %EngineLocation%>>"%appdata%\Flax\Versions.txt" goto Done