DaySim icon indicating copy to clipboard operation
DaySim copied to clipboard

Default search for configuration file should be current directory, not DaySim.exe location

Open PeterVermont opened this issue 8 years ago • 3 comments

is very unusual and, I believe, against standard practice to use the executable location as the basis to search for input files.

I know that in most cases DaySim.exe is stored in the same directory as the configuration files and that this is also usually the current working directory so changing this behavior should not break anything.

This is related to #52 which is similar -- the BasePath should default to the configuration file folder rather than the current working directory. you might think I am being inconsistent but t it is a matter of context -- when the user is on the command line and types DaySim.exe they are thinking in terms of their current location. By contrast, the author of the config file is thinking in terms relative to the config file.

PeterVermont avatar Jul 06 '16 16:07 PeterVermont