Problem with slash in visual studio

Hi everybody,

hope you can help with this.

My os is windows 10.

I was working on the Dasmoto’s project and when i copy the path (not the relative) for the background image i get this: C:\DevProject\resources\Images\pattern.jpeg
and it doesn’t work. i need to manualy change the antislash in order to get this:
C:/DevProject/resources/Images/pattern.jpeg

is there something i can do to get the correct path? do i need to change something on windows or in the visual code studio settings?

Thank you,