简体   繁体   English

在符号链接(窗口)内创建目录

[英]Create directory inside symbolic link (window)

I want to create folder and read files inside the symbolic link directory in windows environment.我想在 windows 环境中的符号链接目录中创建文件夹并读取文件。

Here is my code for create folder.这是我创建文件夹的代码。 I want to create folder "20210203" inside the documents directory.我想在文档目录中创建文件夹“20210203”。

在此处输入图像描述

Here is the folder in to windows这是 windows 中的文件夹

在此处输入图像描述

Windows supports symlinks, this is the command: Windows 支持符号链接,这是命令:

MKLINK C:\dir1 c:\dir2 /D

/D means this is a directory symlink. /D表示这是一个目录符号链接。

This works for network drives as that's what I used it for myself.这适用于网络驱动器,因为这就是我自己使用的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM