Solved

Can not delete folder

Posted on 2013-06-21
11
393 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
  • 6
  • 3
  • 2
11 Comments
 
LVL 12

Expert Comment

by:DarinTCH
Comment Utility
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
Comment Utility
Tried that...

This seems to be something more complicated.
0
 
LVL 50

Expert Comment

by:jcimarron
Comment Utility
0
 

Author Comment

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

Expert Comment

by:DarinTCH
Comment Utility
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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:bobct1
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Found solution on my own.
0
 
LVL 50

Expert Comment

by:jcimarron
Comment Utility
bobct1--Thanks for telling us the solution.
0

Featured Post

Why spend so long doing email signature updates?

Do you spend loads of your time carrying out email signature updates? Not very interesting are they? Don’t let signature updates get you down. Let Exclaimer Cloud - Signatures for Office 365 make managing email signatures a breeze.

Join & Write a Comment

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…
Know what services you can and cannot, should and should not combine on your server.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

744 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now