AAtsushi's Blog
Tools

Symbolic Links on Windows

→ 日本語版を読む

I found out that you can create symbolic links on Windows using Command Prompt or PowerShell, so I noted it down here.

In Command Prompt you use mklink, and in PowerShell you use the New-Item command.

For now, I created a symbolic link to a directory using the mklink command in Command Prompt.

mklink /d <link source> <link destination>

Note that the order of source/destination is different from the Linux ln command.

Open Command Prompt with administrator privileges. Also note that if the link source folder already exists, an error will occur.

References

dev.classmethod.jp

baacash.com