Old Windows can’t delete files that have more than 260 path name. So, use robocopy to deal with it.
mkdir emptyfolderrobocopy emptyfolder folderwithtoolongpathnames /purge
How to delete long filename in Windows
Old Windows can’t delete files that have more than 260 path name. So, use robocopy to deal with it.
mkdir emptyfolderrobocopy emptyfolder folderwithtoolongpathnames /purge