在windows中创建软链接,junction的使用方法
转自: codante – 在windows中创建软链接,junction的使用方法
软链接也可以称作符号链接,类似于unix中的ln -s。
其实windows也是有这个功能的,不过windows貌似没有内置相关的符号连接工具。最好用的工具应该是Microsoft网站上提供的SysInternals套件,里面包含了大量的实用程序,其中junction.exe就是用来管理符号连接的。
使用junction所创建的符号链接文件夹并不会占用任何磁盘空间,它仅仅是指向了源文件夹。
官方网址:http://technet.microsoft.com/en-us/sysinternals/bb896768
适用环境
[*]必需为NTFS文件格式
[*]windows XP+
[*]windows server 2003+
安装
将junction.zip解压得到junction.exe,直接扔到C:\WINDOWS\system32
命令格式
创建
<div class="syntaxhighlighterbash" style="margin-top: 1em !important; margin-right: 0px !important; margin-bottom: 1em !important; margin-left: 0px !important; width: 864px; font-size: 1em !important; background-color: white !important; padding: 0px;"><div class="line number1 index0 alt2" style="padding-top: 0px !important; padding-right: 0.5em !important; padding-bottom: 0px !important; padding-left: 1em !important; border-top-width: 0px !important; border-right-width: 3px !important; border-bottom-width: 0px !important; border-left-width: 0px !important; border-color: initial !important; border-top-left-radius: 0px !important; border-top-right-radius: 0px !important; border-bottom-right-radius: 0px !important; border-bottom-left-radius: 0px !important; background-image: none !important; background-color: white !important; float: none !important; height: auto !important; line-height: 1.1em !important; text-align: right !important; vertical-align: baseline !important; width: auto !important; font-size: 1em !important; white-space: pre !important; border-right-style: solid !important; border-right-color: #d4d0c8 !important; margin: 0px !important;">1
页:
[1]