Open a PowerShell and paste the following
cmd /c dir “c:\users” /s /b /a |? {$_.length -gt 254}|Out-File $env:USERPROFILE\Downloads\longpaths.txt -noclobber
Open a PowerShell and paste the following
cmd /c dir “c:\users” /s /b /a |? {$_.length -gt 254}|Out-File $env:USERPROFILE\Downloads\longpaths.txt -noclobber