Thursday, April 9, 2015

Delete invalid files or folders in Windows

 Got a file or folder with a funny name that is impossible to rename or delete in Windows?

e.g. this "Foldernamewithaspaceattheend " or "filenamewithadot." ?

Try typing this in the DOS command window:

rd /s "\\?\[Drive:]\fullpath\[folderfunnyname]"

del  "\\?\[Drive:]\fullpath\[funnyname]"


e.g.
del "\\?\C:\SD Recovered\com.sec.android.widgetapp."

Other options -  download this or boot to Linux.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.