diff --git a/pages/windows/mklink.md b/pages/windows/mklink.md new file mode 100644 index 000000000..a728f1d7f --- /dev/null +++ b/pages/windows/mklink.md @@ -0,0 +1,19 @@ +# mklink + +> Create symbolic links. + +- Create a symbolic link to a file: + +`mklink {{path/to/link}} {{path/to/source_file}}` + +- Create a symbolic link to a directory: + +`mklink /d {{path/to/link}} {{path/to/source_directory}}` + +- Create a hard link to a file: + +`mklink /h {{path/to/link}} {{path/to/source_file}}` + +- Create a directory junction: + +`mklink /j {{path/to/link}} {{path/to/source_file}}`