Symoblic link to NAS folder removal

Sum C 20 Reputation points
2026-08-25T17:17:12.5233333+00:00

Hi there,

I've read that symbolic link using mklink /J and /d have different results, while del /j links only the link is deleted but if I del /d link the file inside the destination is also removed.

I have previous experience that if I remove the symbolic link made using /j command in files explorer , select on the link folder icon and press delete, it only deletes the link but not the folder in destination (what I wanted).

Now my question is since making a symbolic link onto a mapped NAS drive (Z:) only the /d option works, if I went to the file explorer, select the icon and press del key, would it remove the files in the NAS also? As I sometimes wanted to switch the symbolic link destination I wonder if just heading to the file explorer folder and press del would be a faster option to delete the link only but preserve the file.

Windows for home | Windows 11 | Files, folders, and storage
0 comments No comments

Answer accepted by question author
Carl-L 21,480 Reputation points Microsoft External Staff Moderator
2026-08-26T06:45:02.48+00:00

Hello Sum C,

Welcome to Microsoft Q&A forum.

Regarding your questions, the answer is no. Deleting a symbolic link from File explorer will delete only the link and not the folder on NAS. However, if you open it first and then remove the content inside it, the NAS folder will be affected.

In this case, since you say you periodically change the destination, the safest way is to use this command "rmdir C:\MyLink", this removes only the link and make sure that it never touches the NAS folder.


If the answer is helpful, please click "Yes". If you have extra questions about this answer, please click "Comment".

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?

2 people found this answer helpful.

0 additional answers

Sort by: Newest

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.