Create directory inside symbolic link (window)

327 Views Asked by At

I want to create folder and read files inside the symbolic link directory in windows environment.

Here is my code for create folder. I want to create folder "20210203" inside the documents directory.

enter image description here

Here is the folder in to windows

enter image description here

1

There are 1 best solutions below

0
dazed-and-confused On

Windows supports symlinks, this is the command:

MKLINK C:\dir1 c:\dir2 /D

/D means this is a directory symlink.

This works for network drives as that's what I used it for myself.