Is there a ln symlink command in Windows 7

9

3

Possible Duplicate:
Does window have the ln -s or equivalent?

Is there an equivalent ln command to create symlinks in Windows?

Yada

Posted 2010-02-20T15:10:44.487

Reputation: 1 841

Question was closed 2011-06-22T09:14:45.393

Answers

16

Yes. Among others, there is mklink: Using Symlinks in Windows Vista

A good blog article on the subject, if you're interested in the history, is here.

There's exhaustive documentation (from the API perspective) on Symbolic Links and Windows at MSDN: Symbolic Links

Pekka

Posted 2010-02-20T15:10:44.487

Reputation: 2 239

4

Be aware that mklink is not available in PowerShell. It is a built-in command available only in cmd.exe. The PowerShell Community Extensions has a New-SymLink cmdlet in it if you need this support in PowerShell.

user10404

Posted 2010-02-20T15:10:44.487

Reputation: 571

2You could also call cmd /c mklink ... which might be a little less intrusive than installing PSCX :-). – Joey – 2010-02-21T11:54:44.323