Created
June 16, 2013 08:03
-
-
Save archagon/5791339 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 hidden or 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