Error opening file in Windows

If I double click a file when Dorico is closed, the file opens as expected. But, if Dorico is already opened and I try to open the file with a double click in it, it shows this error:

error opening file.png
Do you know what could be causing it?

I suspect it’s a similar problem to this:

Try moving the file off Dropbox into a genuine local folder and see if that gets rid of the problem.

No, it didn’t work.

But, I noticed that the path stopped at a comma of the filepath “OSWALD, Henrique…”, then I deleted the comma and it opened. The path had two commas, in a folder and in the filename, so doesn’t matter where it is, it prevents Dorico from opening the file with double click (when I open it directly from Dorico it opens normally).