Relative paths in WB settings
Posted: 31 Aug 2010, 20:02
I am trying to put together portable winboard folder so everything works even if I move Winboard folder somewhere else.
This is why I am using relative paths, e.g:
/polyglotDir="." (polyglot.exe is in Winboard folder)
/defaultPathEGTB=".\egtb" (egtb folder is in Winboard folder)
In Winboard folder I have winboard.exe, polyglot.exe, egtb folder and a folder for each UCI engine.
What I have noticed is that when I use ".\egtb" for egtb path than engine does not use egtb, but when I put "..\egtb" it works.
This is a little bit confusing because it would be more logical if polyglot is in "." folder to use ".\egtb" path.
My question is - is this (egtb path being relative to engine path) intentional or bug?
This is why I am using relative paths, e.g:
/polyglotDir="." (polyglot.exe is in Winboard folder)
/defaultPathEGTB=".\egtb" (egtb folder is in Winboard folder)
In Winboard folder I have winboard.exe, polyglot.exe, egtb folder and a folder for each UCI engine.
What I have noticed is that when I use ".\egtb" for egtb path than engine does not use egtb, but when I put "..\egtb" it works.
This is a little bit confusing because it would be more logical if polyglot is in "." folder to use ".\egtb" path.
My question is - is this (egtb path being relative to engine path) intentional or bug?