Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这个问题说明cygwin的软链接和ntfs junctions有些不同。我希望 cygwin 创建一个真正的连接点。我想过跑步mklink,但是,见鬼,没有mklink.exe。 显然,它是 shell 命令的一部分。我被困住了。
mklink
mklink.exe
知道如何在脚本上做到这一点吗?
找到答案,跑步cmd.exe /c mklink /j name target就完成了。我把答案留在这里,以防有人遇到同样的麻烦。
cmd.exe /c mklink /j name target
编辑:添加/j了肯威廉姆斯在评论中指出的开关。
/j