I think there is a limit for total path on 260 characters in Windows.
That means all folders and name together has to be below that length.
Maybe NTFS filesystem allows more, but it would not be compatible with many media.
You might overcome that by giving a shorter name to a certain spot within long folder names.
Use commands like linkd.exe for that is one way - so called junctions or directory links.
So name F:\MySonar may refer to any spot on your disks.
Perhaps it can keep the longer names then, don't know how Sonar does it.
But rather simple to try out if it helps. Then set project folder to root where you have projects now.