Last active
December 28, 2015 07:26
-
-
Save gauravbarthwal/f6bfa7278af88e6e0580 to your computer and use it in GitHub Desktop.
How to delete a directory which contains filename more than 255 characters
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
Create a new empty folder, e.g. c:\empty | |
Then copy that empty folder onto the folder which contains the long filenames which you're trying to delete, e.g. c:\myannoyingfolder. Do this like so in the command prompt: | |
robocopy /MIR c:\empty c:\myannoyingfolder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment