$ cat "

Quick Tip: Creating Symlinks with PowerShell (or actually with cmd...)

"

To create a symlink when in a PowerShell session, you can use the following command:

cmd /c mklink <link_path_to_create> <original_path>

If you want to symlink a directory rather than a file, use the following command:

cmd /c mklink /D <link_path_to_create> <original_path>

See https://technet.microsoft.com/sv-se/library/cc753194(v=ws.10).aspx for more info.

Written by Erik Öjebo 2015-11-24 17:49

    Comments