1
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Windows 11でシンボリックリンクを作成する

Last updated at Posted at 2023-06-05

1. はじめに

  • Unix系で使用するシンボリックリンクをWindowsでも作成したい

2. 開発環境

  • Windows 11

3. シンボリックリンク作成

3.1. 管理者モードでコマンドプロンプトを起動する

image.png

3.2. シンボリックリンクを作成するフォルダへ移動する

3.3. シンボリックリンク作成コマンドを入力する

mklink /d <シンボリックリンク名> <リンク先>

  • C:\temp\Documentsのシンボリックリンク名に対して、C:\Users\user\Documentsへのリンク先を指定する(相対パスでも記載できる)
    image.png

  • シンボリックリンクが作成できている
    image.png

4. 参考文献

1
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?