windows符号链接目标 [英] windows symbolic link target
本文介绍了windows符号链接目标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
说我设置了一个符号链接:
Say that I set up a symbolic link:
mklink /D C:\root\Public\mytextfile.txt C:\root\Public\myothertextfile.txt
编者注:选项 /D
- 用于创建目录符号链接 - 与定位文件不一致,如这个例子,引起了一些混乱.要创建文件符号链接,只需省略/D
.
Editor's note: Option /D
- which is for creating directory symlinks - is at odds with targeting files, as in this example, which has caused some confusion. To create a file symlink, simply omit /D
.
有没有办法使用命令行查看mytextfile.txt
的目标是什么?
Is there a way to see what the target of mytextfile.txt
is, using the command line?
推荐答案
正如 Harry Johnston 所说 dir
命令显示符号链接的目标
As Harry Johnston said dir
command shows the target of symbolic links
2014/07/31 11:22 <DIR> libs
2014/08/01 13:53 4,997 mobile.iml
2014/07/31 11:22 689 proguard-rules.pro
2014/09/28 10:54 <JUNCTION> res [\??\C:\Users\_____\mobile\src\main\res]
这篇关于windows符号链接目标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文