?
Solved

Can not delete folder

Posted on 2013-06-21
11
Medium Priority
?
405 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
Determining the an SCCM package name from the Package ID
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

650 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