Jump to content

How to delete a folder whose name ends with a period?

Recommended Posts

I accidentally named a folder with a period at the end and now I can't delete it by any means I've tried.  I know there's way to do it because I've done it before, but I don't remember how.  It's either using the DEL or RD in Command Prompt, probably with a /S for RD.  However, I think there were some other kind of arguments to bypass Windows API to properly issue the delete command?  :unsure:



Does anyone know what I'm talking about and how to remove this folder?  :unknown:



Of course, Windows ALLOWS you to name a folder with a period at the end even though it's NOT allowed!  :rolleyes:







Share this post

Link to post
Share on other sites

I tried searching with Google, but I found multiple solutions.  And none of them seemed to work.



I tried Unlocker, but that didn't work.  The problem is the folder isn't really "there."  It's an invalid pointer it seems.  Attempting to delete it just returns a generic Windows error code that also applies to things including failed Windows Update updates.



I tried the 7Zip solution and that seemed to do the trick.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


Important Information

By using this site, you agree to our Terms of Use.