Recently, I had issues with file names that were too long for windows, so looking for a nice and quick solution, I found reliable to map the folder as a drive.
Here is how to map a drive from a local folder on Windows:
// Create a new mapping
subst x: C:\Folder\Example
// Remove mapping
subst x: /D