System Grab Bag

View all TLDR pages from Windows (or from all pages)

mklink

Create symbolic links. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/mklink.
  • Create a symbolic link to a file:
    mklink {{path\to\link_file}} {{path\to\source_file}}
  • Create a symbolic link to a directory:
    mklink /d {{path\to\link_file}} {{path\to\source_directory}}
  • Create a hard link to a file:
    mklink /h {{path\to\link_file}} {{path\to\source_file}}
  • Create a directory junction:
    mklink /j {{path\to\link_file}} {{path\to\source_file}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.