eschamp
asked on
Problem with links
I decide to move a folder to another hard drive and then MKLINK a "connection" back to its original position. Eg, moved the Music folder from C:\Users\Me\Music to E:\Music, delete the Music folder from C, and mklink /j C:\Users\Me\Music E:\Music
That worked.
Now if I want to break that link, what do I do? If the answer is RD, will that just break the link or will it remove the directory and its contents?
That worked.
Now if I want to break that link, what do I do? If the answer is RD, will that just break the link or will it remove the directory and its contents?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
"MKLINK cannot use to delete symbolic link. To remove a symbolic link, simply delete them as if you’re removing a normal file. Just make sure you don’t delete the original file."
"To delete a symbolic link to a file or directory, the following command line syntax can be used (in each case, "linkname" specifies the name of the symbolic link to be deleted):
For links to files:
• del linkName
For links to directories:
• rmdir linkName "
"To delete a symbolic link to a file or directory, the following command line syntax can be used (in each case, "linkname" specifies the name of the symbolic link to be deleted):
For links to files:
• del linkName
For links to directories:
• rmdir linkName "
ASKER
@paulmacd True but examples are most helpful to us non-experts.
ASKER