Removing a <JUNCTION> that has a [space] in the name..?

G

Guest

Not actually a 'Registry' question but I couldn't find a 'Maintenance'
thread...

Scenario...
Win 2k Pro, One Primary Partition, One Extended Partition with multiple
logical Volumes all partitioned as NTFS Basic Volumes. The Volume in the
Primary Partition is the System Volume (C:)
Using Disk Manager, I mounted some of the Volumes in the extended partition,
as folders on the root of the system volume. This worked fine for ages until
a disk corruption occurred, after which these virtual disks (folders) refused
to open. After correcting the disk corruption with CHKDSK, Windows Explorer
was of no use to view the Volumes, and Disk Manager refused to resurrect
them... I nearly started to panic, but decided to revert to that good old
backup O/S... DOS (or as close as Win2K allows). At a command prompt
pointed to the root of the system drive I typed DIR and noticed that instead
the folders being designated as <DIR>, they were designated as <JUNCTION>.

Actions taken so far...
I scanned the Microsoft Knowledge Base for articles on <JUNCTION>, and found
references to LINKD.EXE, DELRP.EXE, and the MOUNTVOL command prompt commands.
In all but one case, I have been able to delete the corrupted <JUNCTION>
points, remount the volumes and retrieve the data, but in just one case, this
has proven impossible. Actually it's not that bad; I've remounted that last
volume in a newly created folder so I've actually got all of my data back,
but I just cannot delete one of the old <JUNCTION>s.

The name of the <JUNCTION> is "Outlook Data"; yes... it's got a space in the
name.
When I try:- C:\DELRP C:\Outlook Data
I get the response:- Cannot open: c:\Outlook

My goal is to delete this <JUNCTION>. Can anyone advise?
 
K

Ken Dennis

When I try:- C:\DELRP C:\Outlook Data
I get the response:- Cannot open: c:\Outlook

My goal is to delete this <JUNCTION>. Can anyone advise?

Try to use C:\DELRP C:\Outloo~1
Or enter the Ascii space, Alt-255 I believe.
 
M

Matthias Tacke

Ken said:
Try to use C:\DELRP C:\Outloo~1
Or enter the Ascii space, Alt-255 I believe.
The usual way in a cmd window is to quote names with spaces.

mountvol "C:\Outlook Data" /D
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top