Windows – equivalent of mklink in Windows Powershell

powershellsymlinkwindows

When I shift-right-click on a folder I had been able to "open command window here".

NOTE: I am NOT INTERESTED in the registry hack to put this feature back on.

After which I could use mklink to create symbolic links.

Under recent profound wisdom of Microsoft, after last couple of Windows 10 updates, "command window here" has been replaced with "powershell here".

Hence complying with Microsoft's esteemed wisdom implying that I should use powershell instead of the long outdated cmd

  • what is the equivalent of making a softlink in powershell?
  • and any other type of link that mklink could make?

Best Answer

This is answered in [1]: https://stackoverflow.com/a/34905638/4744055

But use New-Item Powershell command. No DOS CMD necessary any more.

   New-Item -Path <to> -ItemType SymbolicLink -Value <from>