mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 19:58:45 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
25
tldr/windows/mklink
Normal file
25
tldr/windows/mklink
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 o\link_file}} {{path o\source_file}}`
|
||||
|
||||
- Create a symbolic link to a directory:
|
||||
|
||||
`mklink /d {{path o\link_file}} {{path o\source_directory}}`
|
||||
|
||||
- Create a hard link to a file:
|
||||
|
||||
`mklink /h {{path o\link_file}} {{path o\source_file}}`
|
||||
|
||||
- Create a directory junction:
|
||||
|
||||
`mklink /j {{path o\link_file}} {{path o\source_file}}`
|
||||
Reference in New Issue
Block a user