The web has articles describing what should be done. This site even answers the question for a W10 computer, but not a W7 computer.
Windows 7 doesn’t support this feature.
You can enable enable Long Path Support in Windows 10. Starting in version 1607 'Anniversary Update', the 260 character limitation for NTFS path length issue is resolved. That path length limitation has been present on Windows since very first versions.
By default Windows 10 has a maximum file path length of 260 characters. All Windows file systems have the concept of files and folders to access stored data. Path is a string value indicating where this data is stored. However, there is a 260 character limit for paths imposed by Windows, which includes a drive letter, a colon, a separating backslash, and a null terminator.
This limitation is not for the NTFS file system, but for the legacy APIs that are used to access data.
Even if you enable this option on Windows 10 it doesn’t change the limit that File Explorer has.
Source: Here
The screenshot from the quoted article clearly indicates only Windows 10+ are supported.