-
-
Save brunodesde1987/5a84005b66cceb8e84d3128e7f3ba594 to your computer and use it in GitHub Desktop.
Sometimes Windows has trouble deleting directories with very long paths down in the lower depths. Fortunately, robocopy can magically circumvent this! Simply create an empty directory and mirror it into the directory you wish to delete.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
robocopy /b /mir "C:\EmptyDir" "C:\DirToEmpty" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment