Solved

How to delete this anomaly?

Posted on 2011-02-15
7
316 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
  • 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

772 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