Re: linkd questions
You're jumping to conclusions. I fully tested what I wrote BEFORE I wrote
it. Here is what I did:
1. Open a Command Prompt.
2. Type this command:
linkd c:\Test e:\Backup
(c:\Test did not exist. E:\Backup is a populated folder.)
Response: "Link created at C:\Test".
(C:\Test now shows the contents of e:\Backup)
3. Type this command:
linkd c:\test /d
Response: "The delete operation suceeded".
Result: C:\test has disappeared. E:\backup still exists.
I recommend you try this yourself, as I said before, then report the result
seen on your machine.
"phavel" <phavel@discussions.microsoft.com> wrote in message
news:9E3FD5CE-A0F5-41B5-A1FF-B4044F0B23A7@microsoft.com...
>I have run my own tests and it does delete the source folder. The help
> provided by "/?" supports this as well - "Deletes Source, regardless of
> whether a link exists at
> source", and I've also seen references on the web to people using this
> option to forcefully delete otherwise hard-to-delete folders.
>
> I do appreciate the accusation of not trying before asking though. Geesh.
>
>
> "Pegasus (MVP)" wrote:
>
>> The /D option does NOT delete the folder that contains your data. It only
>> deletes the symbolic (junction) folder. You should run your own test to
>> see
>> how it works.
>>
>>
>> "phavel" <phavel@discussions.microsoft.com> wrote in message
>> news:A580411E-32BE-4CA8-8D31-96634B9C45A6@microsoft.com...
>> > Thanks, I see the /D option but is there a way to remove the link
>> > without
>> > deleting the source folder?
>> >
>> > "Pegasus (MVP)" wrote:
>> >
>> >>
>> >> "phavel" <phavel@discussions.microsoft.com> wrote in message
>> >> news:49403048-003F-47C4-8C8F-29B29C04A22A@microsoft.com...
>> >> > Hi, I am looking to use linkd to solve a copying issue. Is there
>> >> > any
>> >> > way
>> >> > to
>> >> > get an overall view of all the links that have been created on a
>> >> > system,
>> >> > and
>> >> > likewise is there any way to remove a link once it has been created
>> >> > (other
>> >> > than destroying the source directory). I know there are ways around
>> >> > the
>> >> > latter, just wondering if there about what options I have with this.
>> >> > Thanks.
>> >>
>> >> You can obtain a list of all existing links with this command:
>> >> dir /ad /s | find /i "<junction>"
>> >>
>> >> To see how to delete a link, type "linkd /?".
>> >>
>> >>
>> >>
>>
>>
>>