Need help please
Trying to delete a folder or rename
c:\users\Peachtree 2nd\Documents\4638Eberrline Court Stone Mountain GA 30083
[4638Eberrline Court tone Mountain GA 30083 ]
At the end of 30083 it has a ""space"" - can't delete the file
I am trying to backup my Documents folder. When it get to this file the backup STOPS and won't go any farther.
Thank you for ""ANY"" help.
How do I delete a Folder with spaces - I can't backup my docs folder
Moderator: DosItHelp
Re: How do I delete a Folder with spaces - I can't backup my docs folder
Prepending \\?\ should do the trick.
This is for deleting, however renaming should work as well.
Steffen
Code: Select all
rd /s /q "\\?\c:\users\Peachtree 2nd\Documents\4638Eberrline Court Stone Mountain GA 30083 "
Code: Select all
ren "\\?\c:\users\Peachtree 2nd\Documents\4638Eberrline Court Stone Mountain GA 30083 " "4638Eberrline Court Stone Mountain GA 30083"