Space at end of folder name causes issue

H

hedbonker

I have a folder name that has a space at the end of it and I cannot
remove the folder. Is there any way to get rid of it? Re-naming does
not work.

Thanks!
 
T

Tim Slattery

I have a folder name that has a space at the end of it and I cannot
remove the folder. Is there any way to get rid of it? Re-naming does
not work.

Try navigating to the containing folder in a command console ("DOS
Box"), then giving the "rmdir" command with the subdirectory name in
quotes:

rmdir /s "baddirname "

(The /s flag causes rmdir to delete everything in the directory then
delete the directory itself.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top