Junction v1.06

转载 2012年03月22日 23:22:25



Windows 2000 and higher supports directory symbolic links, where a directory serves as a symbolic link to another directory on the computer. For example, if the directory D:\SYMLINK specified C:\WINNT\SYSTEM32 as its target, then an application accessing D:\SYMLINK\DRIVERS would in reality be accessing C:\WINNT\SYSTEM32\DRIVERS. Directory symbolic links are known as NTFS junctions in Windows. Unfortunately, Windows comes with no tools for creating junctions—you have to purchase the Win2K Resource Kit, which comes with the linkd program for creating junctions. I therefore decided to write my own junction-creating tool: Junction. Junction not only allows you to create NTFS junctions, it allows you to see if files or directories are actually reparse points. Reparse points are the mechanism on which NTFS junctions are based, and they are used by Windows' Remote Storage Service (RSS), as well as volume mount points.

Please read this Microsoft KB article for tips on using junctions.

Notethat Windows does not support junctions to directories on remote shares.

If you want to view reparse information, the usage for Junction is the following:


Using Junction

Use junction to list junctions:

Usage: [-s]

-s    Recurse subdirectories


To determine if a file is a junction, specify the file name:

junction c:\test

To list junctions beneath a directory, include the –s switch:

junction -s c:\

To create a junction c:\Program-Files for "c:\Program Files":

C:\>md Program-Files

C:\>junction c:\Program-Files "c:\Program Files"

To delete a junction, use the –d switch:

junction -d c:\Program-Files



mklink和junction 详解

普及一下junction和mklink,让你的c盘空闲起来 windows  XP  : 命令junction win7: 命令mklink  上面命令有啥好处?...
  • Evan123mg
  • Evan123mg
  • 2014年10月15日 13:08
  • 1128


应用场景1: Windows下,有一个已经安装好的应用程序Git,安装目录是"C:\Program Files (x86)\Git",占用空间240M。由于C盘的空间紧张,我们想把Git安装目录转移...
  • wxqee
  • wxqee
  • 2014年02月10日 11:54
  • 5463

windows 下的符号链接Junction

Junction相当于linux下的ln命令,下面是Microsoft对其的介绍:   Introduction Windows 2000 and higher supports directo...
  • chief1985
  • chief1985
  • 2009年08月16日 21:19
  • 2831

阐述webseal junction选项的意义

查看junction的定义,server task instance-webseald-host show /portal    Junction point: /portal            ...
  • fastrunner2003
  • fastrunner2003
  • 2008年05月09日 15:53
  • 3351


因为场景需要,需要一个链接,Windows下,但是快捷方式不可以,后来百度到了junction这个小工具,顿时欣喜万分。 转自:http://blog.csdn.net/chwxj/article/...
  • ghostliming
  • ghostliming
  • 2015年12月30日 00:54
  • 582

用 Junction 绕过数字签名检测

  by FlowerCode Junction 是 NTFS 的功能之一,属于 Reparse Point 的一种,自 Windows 2000 就有。简单的来说,Junction 提供了对于应用程...
  • iiprogram
  • iiprogram
  • 2008年10月15日 17:55
  • 674


Windows 2000开始就有的NTFS连接点,只能用于目录,适用于本地文件系统。NTFS连接点只支持本地驱动器的绝对路径。比如说你可以将F:\Program-Files 对应到C:\Program...
  • hurrycxd
  • hurrycxd
  • 2017年10月22日 11:04
  • 203

【CERC2015】【BZOJ4435】Juice Junctions

  • CreationAugust
  • CreationAugust
  • 2016年04月18日 11:35
  • 772


chapter 6 Web Intelligence and Big Data Connecting the dots - Motivation 比如有这样一个问题query: Who is th...
  • yunlong34574
  • yunlong34574
  • 2013年05月09日 23:42
  • 2533

windows - create junction with mklink and remove junction with rmdir

rd d:\pic_link You can create a junction point say d:\pic_link  to real dictory called d:\pic here...
  • redalert2c
  • redalert2c
  • 2013年06月06日 22:07
  • 714
您举报文章:Junction v1.06