Solved

How to delete this anomaly?

Posted on 2011-02-15
7
317 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 500 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
Technology Partners: 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!

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
Learn about cloud computing and its benefits for small business owners.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

749 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