Share via

Symbolic link deletion

Anonymous
2021-08-31T11:14:17+00:00

Hello,

I am having an issue. When I have tried to remove symlink using commands del, mkdir, unlink etc, they not helped to unlink. Either access is denied or file is not ok or that file is already exists. I have removed folder but link still remains. I made mlink /j "path" "target " for creation and deletion: del target, rmdir target, rmdir path, etc. None of these didn't work.

Windows for home | Windows 10 | Licensing and activation

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

8 answers

Sort by: Most helpful
  1. Anonymous
    2021-08-31T12:56:29+00:00

    If you have a symbolic link that is a directory (made with mklink /d), using delex will delete all files in the target directory (the directory the link points to), rather than just the link.

    rmdir on the other hand will only delete the link from the directory, not what the link points to.

    Yours sincerely,

    Claudeir

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2021-08-31T12:31:03+00:00

    -Hi, my name is Claudeir, I'm happy to help you!

    These commands will not work, just delete as if you were deleting a file/folder. If you have already deleted the file, restart the PC which should solve it.

    -Feel free to leave your opinion, marking as answered if the answer helped, or leaving more details so that we can continue the service, this is very important to us.

    Graciously,

    Claudeir

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2021-08-31T12:49:28+00:00

    Hello,

    Is del command in cmd will delete everything of that path folder?

    0 comments No comments
  4. Anonymous
    2021-08-31T12:42:40+00:00

    Make sure in Windows+R> type: netplwiz> press enter> select your user> Properties> Group membership> check Administrator (even if it is already checked) apply and ok.

    With Dell command resolved after rebooting the PC?

    -If our conversation was helpful in any way, please consider marking as replied to help other users, or leave more details.

    Yours sincerely,

    Claudeir

    0 comments No comments
  5. Anonymous
    2021-08-31T12:38:46+00:00

    Hello,

    Seems that mkdir "C:\file" can't delete folder because access denied, just dell will work.

    0 comments No comments