cachaito
4/4/2015 - 12:15 PM

Remove folder with long name filenames

  1. make an empty folder, called for example empty: mkdir c:\empty
  2. invoke robocopy to mirror the empty directory into the bad one: robocopy c:\empty\ c:\bad_folder\ /mir
  3. at the end of the process you can delete the two directories, the bad one and the empty you created at the beginning: rmdir c:\empty c:\bad_folder