?
Solved

How to delete this anomaly?

Posted on 2011-02-15
7
Medium Priority
?
321 Views
Last Modified: 2012-05-11
Hi,

I have inherited this server with this anomaly on it.  The server is running Windows 2003.

The directory tree looks like this.  (Print out form the Tree command.)

----scanned docs
    ----  
        ----  
            ---- 

Open in new window


Dir says this:

 Directory of J:\scanned docs

02/15/2011  07:06 AM    <DIR>          .
02/15/2011  07:06 AM    <DIR>          ..
02/15/2011  07:06 AM    <DIR>
               0 File(s)              0 bytes
               3 Dir(s)  1,145,984,622,592 bytes free

Open in new window


"Scanned docs" appears to be a real directory.  The level beneath it seems to be a symbolic link to something else.  Unfortunately that something else may have been on a volume that is no longer there.  Also the link or junction now seems to have a name of "  ".

My question is how can a delete this without trashing the rest of the volume or any data files.

When I try deleting it with windows exploder I get "Cannot delete file: Cannot read from source file or disk."  Of course when I try this I'm assuming that it doesn't point to something that might be valuable. Trying to rename it gives the same error.

linkd "  " says that the name is not a valid windows 2000 name, which of course I already knew.
0
Comment
Question by:Gary4
[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
  • 4
  • 3
7 Comments
 
LVL 4

Expert Comment

by:Loftbug
ID: 34896443
Hi there,

That folder may be a mapped to a remote computer.
Do the following:

Start --> Run -- cmd
Type in console: subst
See if anything appears there.

L
0
 
LVL 4

Accepted Solution

by:
Loftbug earned 2000 total points
ID: 34896520
Plan B, if subst returns no results.

Start the command prompt console.
Type: f:
Type: cd "scanned docs"
Type: dir /x
(each time followed by pressing enter)

Dir/x should show you the name of the folder even if it has no name.
If its a hidden folder it will display like this

---------------------
.
..
0a00~1
---------------------

to remove it
Type: rd 0a00~1


L
0
 
LVL 1

Author Comment

by:Gary4
ID: 34896704
H:\>subst

H:\>

Open in new window

0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 4

Expert Comment

by:Loftbug
ID: 34896947
Ok, that rules out mapped folders. Have you tried the altenate suggestion I posted?
0
 
LVL 1

Author Comment

by:Gary4
ID: 34896954
H:\>cd scanned docs-bad


H:\scanned docs-bad>dir /x
 Volume in drive H is Common2
 Volume Serial Number is FCDD-5471

 Directory of H:\scanned docs-bad

02/15/2011  08:45 AM    <DIR>                       .
02/15/2011  08:45 AM    <DIR>                       ..
02/14/2011  04:23 AM    <DIR>          0202~1
               0 File(s)              0 bytes
               3 Dir(s)  940,859,535,360 bytes free

H:\scanned docs-bad>ren 0202~1 zz

H:\scanned docs-bad>dir
 Volume in drive H is Common2
 Volume Serial Number is FCDD-5471

 Directory of H:\scanned docs-bad

02/15/2011  09:15 AM    <DIR>          .
02/15/2011  09:15 AM    <DIR>          ..
02/14/2011  04:23 AM    <DIR>          zz
               0 File(s)              0 bytes
               3 Dir(s)  940,859,760,640 bytes free

H:\scanned docs-bad>linkd zz
zz  is not linked to another directory.

H:\scanned docs-bad>

Open in new window


Hmm.  I'm a bit curious now.

H:\scanned docs-bad>dir
 Volume in drive H is Common2
 Volume Serial Number is FCDD-5471

 Directory of H:\scanned docs-bad

02/15/2011  09:15 AM    <DIR>          .
02/15/2011  09:15 AM    <DIR>          ..
02/14/2011  04:23 AM    <DIR>          zz
               0 File(s)              0 bytes
               3 Dir(s)  940,859,760,640 bytes free

H:\scanned docs-bad>cd zz

H:\scanned docs-bad\zz>dir
 Volume in drive H is Common2
 Volume Serial Number is FCDD-5471

 Directory of H:\scanned docs-bad\zz

02/14/2011  04:23 AM    <DIR>          .
02/14/2011  04:23 AM    <DIR>          ..
11/01/2005  11:29 AM    <DIR>          E
               0 File(s)              0 bytes
               3 Dir(s)  940,859,760,640 bytes free

H:\scanned docs-bad\zz>cd e
The system cannot find the path specified.

H:\scanned docs-bad\zz>linkd e
Could not open: e

H:\scanned docs-bad\zz>

Open in new window


Now what is e?

Windows explorer now shows this:

O scanned docs-bad
    O zz
       O E
          O MOV
             O V

Open in new window


But tree only shows this:

H:\scanned docs-bad>tree /a
Folder PATH listing for volume Common2
Volume serial number is 0062002D FCDD:5471
H:.
\---zz
    \---E

H:\scanned docs-bad>

Open in new window


The reason I'm curious is if someone deleted it's target I'd like to know what the target was to determine if we lost something.

BTW, thanks for the trick.  I didn't know you could specify hex in a command line let alone display it in a dir.
0
 
LVL 1

Author Comment

by:Gary4
ID: 34897074
Hi,

Ok, case solved.

The other directory levels simply had other hex characters in them.  By renaming them I was able to traverse the directory with no problem.  And delete it.

I forgot to mention that chkdsk reported no errors on this volume.

Thanks a bunch.  I spent many hours trying to figure out what to do about this and how to get rid of it.

Gary
0
 
LVL 1

Author Closing Comment

by:Gary4
ID: 34897103
As there were directories under this one I had to clean those up to.
0

Featured Post

Independent Software Vendors: 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

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

764 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