Space at end of folder name causes issue

  • Thread starter Thread starter hedbonker
  • Start date Start date
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!
 
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.)
 
Back
Top