diff -r 97b3ca922cb1 -r 14d8a421b84c smalltalk.bat --- a/smalltalk.bat Mon Aug 07 20:20:11 2017 +0100 +++ b/smalltalk.bat Wed Aug 16 13:23:08 2017 +0200 @@ -53,7 +53,7 @@ :: Versions = :: ========== :: This script -SET batch_script_version=1.5.0 +SET batch_script_version=1.5.1 :: Smalltalk/X SET stx_version=6.2.6 @@ -147,7 +147,8 @@ :: The reason is that it is before the validation process SET "configuration_file_path=%~dp0" SET "configuration_file=smalltalk.cfg" -IF NOT EXIST !configuration_file_path!!configuration_file! ( +SET "configuration_file_with_path=!configuration_file_path!!configuration_file!" +IF NOT EXIST !configuration_file_with_path! ( SET "message="Smalltalk configuration file: !configuration_file! not found. Fix it."" SET __numeric.exit_value=1 CALL :exit_sequence !message! @@ -156,7 +157,7 @@ :: EOL stops comments from being parsed :: otherwise split lines at the = char into two tokens -FOR /F "EOL=# delims== tokens=1,*" %%A IN (!configuration_file!) DO ( +FOR /F "EOL=# delims== tokens=1,*" %%A IN (!configuration_file_with_path!) DO ( REM proper lines have both a and b set REM if okay, assign property to some kind of namespace REM so some.property becomes test.some.property in batch-land