‘Source path too long’. Deleting a directory in Windows 10 with  using robocopy

link:

http://www.jeffgeerling.com/blog/2016/deleting-directory-windows-10-source-path-too-long-using-robocopy

Jeff Geerling

For some reason, Windows doesn’t play well with deep folder hierarchies. Often, when building Drupal projects inside VMs with synced directories, I end up with folders with 10+ levels of hierarchy, and when I try to delete the directory within windows, I get the error “Source path too long”