Friday, December 15, 2017

Files/Folder with spaces on the end - Can't delete files

How to delete folder name with spaces on the end of the filenames in Windows.
Open a command prompt and remove the directory with:

rd /s "\\?\D:\bad\folder\path "

 Done!


Source : https://community.spiceworks.com/topic/273265-files-with-spaces-on-the-end-can-t-delete-files

No comments: