惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

U
Unit 42
罗磊的独立博客
T
Tailwind CSS Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Jina AI
Jina AI
V
V2EX
美团技术团队
阮一峰的网络日志
阮一峰的网络日志
酷 壳 – CoolShell
酷 壳 – CoolShell
月光博客
月光博客
量子位
MyScale Blog
MyScale Blog
G
Google Developers Blog
M
MIT News - Artificial intelligence
L
LangChain Blog
Microsoft Azure Blog
Microsoft Azure Blog
Recent Announcements
Recent Announcements
MongoDB | Blog
MongoDB | Blog
N
Netflix TechBlog - Medium
有赞技术团队
有赞技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
D
DataBreaches.Net
云风的 BLOG
云风的 BLOG
B
Blog

博客园 - 无声雨

远程桌面不能复制粘贴到本地的解决办法 使用Google Map获取地址坐标 SharePoint2010 安装时报“未能启动数据库服务 MSSQL$Sharepoint"解决办法 解决OracleDBConsoleorcl服务无法启动问题[转帖] oracle10g dbconsole 重建步骤(转帖) 做个记号,VS2008中选择默认环境 SQLServer2005SP2安装时提示KB921896错误 Asp.Net2.0中TreeView使用javascript客户端实现选择节点联动的脚本 WindowsXp系统时services.exe占用内存和CPU资源的问题 EXT中GRID自动适应宽与高 Grid使用动态数据源的问题 IE6下PNG图片对象以及其作为背景透明的处理 关于韩文等文字存储乱码的问题 EXT中的语言包 Ext中tree的研究 使用ASP生成条形码(转) IE地址栏javascript代码(转) 设置双网卡同时访问内外网 BAT文件的妙用(转)
操作文件或者文件夹做硬连接
无声雨 · 2012-08-23 · via 博客园 - 无声雨

1、文件夹:

1 The first usage is for displaying reparse point information, the second usage is for creating a junction point, and the last for deleting a junction point:
2 usage: junction [-s] [-q] <file or directory>
3        -q     Don't print error messages (quiet)
4        -s     Recurse subdirectories
5 
6 usage: junction <junction directory> <junction target>
7        example: junction d:\link c:\windows
8 
9 usage: junction -d <junction directory>

以下Win7自带

1 MKLINK [[/D] | [/H] | [/J]] Link Target
2 
3         /D      创建目录符号链接。默认为文件
4                 符号链接。
5         /H      创建硬链接,而不是符号链接。
6         /J      创建目录联接。
7         Link    指定新的符号链接名称。
8         Target  指定新链接引用的路径
9                 (相对或绝对)。

2、文件

1 C:\Users\pyonline>fsutil hardlink
2 ---- 支持的 HARDLINK 命令 ----
3 
4 create          创建硬链接
5 list            枚举文件上的硬链接