?
Solved

Can not delete folder

Posted on 2013-06-21
11
Medium Priority
?
402 Views
Last Modified: 2013-06-26
If there is someone that can figure this out... I will be surprised...

I have a folder that I am trying to delete... and get:
err - item not found
If I click on the actual folder, i get:
err - loc not available
I can create a new folder... and give it the same folder name, but it shows up like this:
create dup folder
With the two folders there... If I copy a file to one of them, the file appears in both folders.  If I delete the folder that ends in the "." it appears to go away... but when I refresh the screen, the folder names changes back to the one ending in the "."

I've googled and found the same problems with a supposed fix - do a dir/x to get the 8.3 file name, the do the rmdir /s/q.... or do a rename first then the rmdir... problem is, this is running Server 2012 and the 8.3 name does not show up.  Tried renaming/removing based on what the 8.3 format should be... but OS says it doesn't exist.
0
Comment
Question by:bobct1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
  • 2
11 Comments
 
LVL 12

Expert Comment

by:DarinTCH
ID: 39266236
back to basics

have you run a simple chkdsk

it often gets rid of errant files/folders that are already gone
and can remove old linkage
0
 

Author Comment

by:bobct1
ID: 39266258
Tried that...

This seems to be something more complicated.
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 39266362
0
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 

Author Comment

by:bobct1
ID: 39266390
Unlocker was one of the first things that I tried... didn't work.
0
 
LVL 12

Expert Comment

by:DarinTCH
ID: 39266640
usually because of a bad file name
something with a '.' in it

try renaming from a cmd line use 8.3 naming convention

 
open cmd window
 CD to the path that the problem folder resides in
 DIR /A /X /P
RENAME (the 8.3 filename for problem file/folder) (a non-problem name)
 EXIT
then go ahead and delete it
0
 

Author Comment

by:bobct1
ID: 39266797
DarinTCH - tried that... in server 2012 (or maybe it was just this directory that I was having a problem with)... it did not return and 8.3 filename.  This was in my initial post... last paragraph.

I tried renaming it using what the 8.3 format should have been "Rocker~1"... but that didn't exist either.

Also - you mention "bad file name"... this definitely appears as a folder... although, when I try to rename, it returns something to the effect that the file does not exist.

Very strange problem... I must say.
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 39266875
bobct1--
Could this possibly be an ownership/permissions problem?
http://www.addictivetips.com/windows-tips/windows-7-access-denied-permission-ownership/

Or use Process Explorer to see what programs are running in the background that might be tying this program up.
http://technet.microsoft.com/en-us/sysinternals/bb896653

I guess you know a .thk file is usually involved with Atari STE
http://filext.com/file-extension/THK
0
 

Author Comment

by:bobct1
ID: 39266895
jcimarron - neither could be issue.

If only the problem folder existed, even is I just click on it to select it... I got the error "...refers to a location that is unavailable..."

When I created a new folder that housed the problem folder... and tried to give it the same name... I ended up with 2 folders with the same name, one ending in a period and the other without.  If I created a new file... then put it in either of those two folders... the file showed in the other as well... almost like a mirrored directory.  At this point, I could delete either of the 2 folder... so I deleted the problem folder ending with the "." with the 3/30/2012 date... so all that showed is the other one dated with the current date.  I hit F5 to refresh... and the directory changes it name to the one with the "." at the end and the 3/30/2012 date.

This is the strangest thing that I have seen.
0
 

Accepted Solution

by:
bobct1 earned 0 total points
ID: 39266904
So... came across a fix...

Did this:

rd /s "\\?\h:\_shares\1\Rocker Actuator_0.040 thk."

and it worked...  I've never prefaced the directory path with "\\?"

See more in link below:

"Because it turns off automatic expansion of the path string, the "\\?\" prefix also allows the use of ".." and "." in the path names, which can be useful if you are attempting to perform operations on a file with these otherwise reserved relative path specifiers as part of the fully qualified path."

http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx (http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx)
0
 

Author Closing Comment

by:bobct1
ID: 39277403
Found solution on my own.
0
 
LVL 50

Expert Comment

by:jcimarron
ID: 39278434
bobct1--Thanks for telling us the solution.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a little timesaver I have been using for setting up Microsoft Small Business Server (SBS) in the simplest possible way. It may not be appropriate for every customer. However, when you get a situation where the person who owns the server is i…
If, like me, you have a lot of Dell servers in the estate you manage this article should save you a little time. When attempting to login to iDrac on any server I would be presented with two errors. The first reads "Do you want to run this applicati…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses
Course of the Month14 days, 14 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question