[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 325
  • Last Modified:

How to delete this anomaly?

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
Gary4
Asked:
Gary4
  • 4
  • 3
1 Solution
 
LoftbugCommented:
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
 
LoftbugCommented:
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
 
Gary4Author Commented:
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!

 
LoftbugCommented:
Ok, that rules out mapped folders. Have you tried the altenate suggestion I posted?
0
 
Gary4Author Commented:
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
 
Gary4Author Commented:
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
 
Gary4Author Commented:
As there were directories under this one I had to clean those up to.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now