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.

Skyhawk
  • 14,200
  • 4
  • 53
  • 95
RBZ
  • 165
  • 1
  • 7

1 Answers1

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>
JMeterX
  • 3,387
  • 16
  • 31
  • Thank you so much!!! I have seen this problem several times over the course of YEARS. – RBZ Sep 19 '12 at 00: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 '12 at 14:52