Delete Filename Too Long in Windows

·
1 min read
notes
#windows #2012r2

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.

Terminal window
mkdir emptyfolder
robocopy emptyfolder folderwithtoolongpathnames /purge

Source: https://helpcenter.gsx.com/hc/en-us/articles/115002767907-How-to-Clean-Folder-Contents-when-a-Filename-or-File-Path-is-to-long