How do I overcome the “The symbolic link cannot be followed because its type is disabled.” error when getting the target of a symbolic link?

后端 未结 8 1876
不思量自难忘°
不思量自难忘° 2020-12-04 08:16

Following on from a previous question, I am creating a symbolic link on a Server 2008 from a Vista machine using UNC paths. I can create the link just fine. I can go to the

8条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-04 08:28

    Thanks David for the tip, I was becoming desperate to fix this problem which made symlinks mostly useless.

    One should note that the default configuration for Vista is L2L and L2R enabled, but R2R and R2L disabled.

    I first tried to enable only R2R, but this is not sufficient. R2L has to be enabled too.

    The next question on my list: How to get rid of that stupid /D switch for the mklink command for directory links. The default link type should be inferred automatically from the target pathname type!

提交回复
热议问题