SOLUTION for future users with same issues!!
For something else I red about terminal commands in Visual Studio Code. Someone entered a path in “quotes”…
so I tried
pio settings set projects_dir “D:\D# Dossiers\Programmeren”
And THAT did the job.