4

I have encountered a problem from time to time but have not been able to resolve it without formatting.

I have a directory called d:\DotNet that I want to delete. I cannot because inside this folder there is another folder called: T4 Code generation and Misc.

When I try to deleting or access T4 Code generation and Misc., I get the following error:

Could not find this item

This is no longer located in D:\DotNet. Verify this item's location and try again.

Hopefully this is a simple fix.

1 Answer 1

7

Try the following:

  1. Open CMD and CD into the location where the file is at
  2. Type dir /a /x /p which will show you the hidden files and the 8.3 filenames which usually look like: C:Progra~1
  3. Since it is a folder you want to delete, run rd /s <8.3name>
2
  • Thank you so much!!! I have seen this problem several times over the course of YEARS.
    – RBZ
    Sep 19, 2012 at 0:21
  • Your welcome, just glad it helped. I had this and it took me forever to figure it out so I am happy to be able to share it.
    – JMeterX
    Sep 19, 2012 at 14:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .