I know how to create and delete symbolic links, but now I have a specific problem. I wanted to create a symbolic link from c:\mydata
to d:\mydata
, but forgot the first parameter, so I entered from c:\
:
mklink /D d:\mydata
The command created a symbolic link c:\
to d:\mydata
. The link is working :-) but now I cannot access my c: drive, because it is mapped to d:\mydata
. I don't know how to remove this link, can anyone help?
All the answers under the question How can I delete a symbolic link? do not help me, because:
- I cannot delete c:\ in windows explorer, because there ist no delete option on drive c:
- I cannot open the shell with admin privileges to execute
rmdir c:\
(I'm always getting an error message when clicking right on "shell" and choosing "run as admin" ("...system32\cmd.exe could not be found")
Update: My system is still running, I can log out and log in, but I'm afraid of rebooting it. It's running since I made the mistake. I can use most of the programs, only a few (like Adobe Reader or opening an admin shell) are not working.