From 0eba0db4a012e9961cf0c5dddf0a4b73f95431b2 Mon Sep 17 00:00:00 2001 From: Jaeho Choi Date: Mon, 6 Feb 2023 04:31:20 +0900 Subject: [PATCH] docs: Fix PowerShell runtime linking command (#5822) --- README.md | 3 ++- book/src/install.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 60125e118..a26673219 100644 --- a/README.md +++ b/README.md @@ -72,8 +72,9 @@ elevated privileges - i.e. PowerShell or Cmd must be run as administrator. **PowerShell:** ```powershell -New-Item -ItemType SymbolicLink -Target "runtime" -Path "$Env:AppData\helix\runtime" +New-Item -ItemType Junction -Target "runtime" -Path "$Env:AppData\helix\runtime" ``` +Note: "runtime" must be absolute path to the runtime directory. **Cmd:** diff --git a/book/src/install.md b/book/src/install.md index 792799d7a..7df9e6c77 100644 --- a/book/src/install.md +++ b/book/src/install.md @@ -123,8 +123,9 @@ elevated privileges - i.e. PowerShell or Cmd must be run as administrator. **PowerShell:** ```powershell -New-Item -ItemType SymbolicLink -Target "runtime" -Path "$Env:AppData\helix\runtime" +New-Item -ItemType Junction -Target "runtime" -Path "$Env:AppData\helix\runtime" ``` +Note: "runtime" must be the absolute path to the runtime directory. **Cmd:**