mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 10:22:10 +02:00
19 lines
397 B
Markdown
19 lines
397 B
Markdown
# 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}}`
|