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?
cmd
to get a command shell there. From PowerShell you can docmd /c mklink
. There is no command currently included in PowerShell that does this, to my knowledge. – Erinew-item
can create HardLink, SymbolicLink, and Junction link types. However, unlike CMD'smklink
, it can't create a SymbolicLink or Junction to a non-existent target. It used to support creating a plain symbolic link (i.e. not a directory symbolic link) to a non-existent target, but that's not working in the latest release of Windows 10. Maybe it was causing too much confusion with people expecting Windows symbolic links to function like Unix symlinks. – Offertoryremove-item
can't remove a directory symbolic link in PowerShell 5.1. You have to use the more verbose command[IO.Directory]::Delete('symlink_path')
.remove-item
works to delete a junction, but it requires-force
and displays a warning as if it's going to delete the contents of the target directory, when it actually doesn't (at least not in 5.1). I'm surprised they released code in such an unfinished state. – Offertory