Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I made some symlinks in MS Windows using mklink /D command. But when copy it, Windows Explorer always perform deep copy instead copying symlink itself. How can I just copy the link? I need to send these links to other users on other machine.

share|improve this question
up vote 1 down vote accepted

The answer is as simple as that: You cannot. Instead, run the same command on the other machine.

share|improve this answer

The symlink to a directory acts as a directory itself. So, when you copy the directory, you copy the directory.

If you had a directory with a bunch of files in it and you wanted a copy of it, but without the files in it, you'd just make a new directory with the same name. Same thing applies here, really.

share|improve this answer

A tool answer: LinkShellExtension allows you to do this and much more. If you're working with soft/hard links in Windows at all, it's an enormously helpful tool.

In this case, you probably want to choose its 'Splice' behaviour in copying Symlinks.

share|improve this answer

Just drag and drop the symlinks between one explorer window to their destination in another. It will move them without copy the contents.

share|improve this answer

partially duplicate question, multiple good answers are here

the question linked above is tagged as windows-7, but it with all answers to it apply for all Windows versions since Vista.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .