Cannot create a folder because such folder already exists?

Running under Windows 7 Enterprise SP1 x64.

When I try to create a folder with a certain name (for reference, let's assume it's X:\MyFolder, I'm getting this:

enter image description here

The name I am using does not show as a folder in Explorer, Total Commander or Far.

The name consists of Latin characters and an underscore, <20 characters long, being created under a drive's root (so no long names issue).

Any other folder name works fine.

I tried restarting - it did not help.

I tried a check disk - it did not find any errors.

  1. What could be preventing me from creating a folder with this name?

  2. Is there any other cleanup I can do on my file system, to get rid of this ghost somehow?

For those wondering, this is not a random name, it was destination path for Copy-Item command in Powershell, it failed to create this folder for some reason, now it keeps haunting me. :) The issue has been happening ever since, and only for this specific folder name, at this specific path.

6

1 Answer

As said in the message text: This error message comes up, if a file (!) of the same name exists already. Windows does not allow a file and a folder to share the same name.

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like