Unless you want to automate the IDE itself then "no", you can't change it in your code without typing the new path yourself. If there's a way to get the new path then you can code that into your project and then that code will be executed each time, get the correct path and then use it to get the data.