Is there a ln symlink command in Windows 7 [duplicate]

Solution 1:

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

Solution 2:

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.