NTFS文件系统下面建立软连接

其实不稀奇,Systems Internals一个小工具,被微软收编了而已

用法:
建立:
[text]junction <mount point> <src dir>[/text]
删除:
[text]junction -d <mount point> <src dir>[/text]
注意,1
1.不像linux,mount point不能存在,否则会报错
Error creating。。。。。。。。。。。。
2.不像linux,src和dst相反

Author Info :
  • From:NTFS文件系统下面建立软连接
  • URL:https://blog.ihipop.com/2010/05/1249.html
  • Please Reserve This Link,Thanks!
  • 《NTFS文件系统下面建立软连接》上有5条评论

    1. Demon :

      C:\Users\Demon>mklink /?
      Creates a symbolic link.

      MKLINK [[/D] | [/H] | [/J]] Link Target

      /D Creates a directory symbolic link. Default is a file
      symbolic link.
      /H Creates a hard link instead of a symbolic link.
      /J Creates a Directory Junction.
      Link specifies the new symbolic link name.
      Target specifies the path (relative or absolute) that the new link
      refers to.

      那是Vista和win7啊。。。

    2. C:\Users\Demon>mklink /?
      Creates a symbolic link.

      MKLINK [[/D] | [/H] | [/J]] Link Target

      /D Creates a directory symbolic link. Default is a file
      symbolic link.
      /H Creates a hard link instead of a symbolic link.
      /J Creates a Directory Junction.
      Link specifies the new symbolic link name.
      Target specifies the path (relative or absolute) that the new link
      refers to.

    发表回复

    您的电子邮箱地址不会被公开。 必填项已用 * 标注