From df1ed0a5fd02cc89ccfa3bf0912848249bebae6d Mon Sep 17 00:00:00 2001
From: NotAgentBilly <82730686+NotAgentBilly@users.noreply.github.com>
Date: Mon, 5 Sep 2022 13:42:17 +0000
Subject: [PATCH] xcopy - assume destination is a directory (#3686)

---
 README.md           | 4 ++--
 book/src/install.md | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index 0d3dab4b..98ec7822 100644
--- a/README.md
+++ b/README.md
@@ -50,8 +50,8 @@ config directory (for example `~/.config/helix/runtime` on Linux/macOS, or `%App
 
 | OS                   | Command                                      |
 | -------------------- | -------------------------------------------- |
-| Windows (cmd.exe)    | `xcopy /e runtime %AppData%\helix\runtime`      |
-| Windows (PowerShell) | `xcopy /e runtime $Env:AppData\helix\runtime`   |
+| Windows (cmd.exe)    | `xcopy /e /i runtime %AppData%\helix\runtime`      |
+| Windows (PowerShell) | `xcopy /e /i runtime $Env:AppData\helix\runtime`   |
 | Linux/macOS          | `ln -s $PWD/runtime ~/.config/helix/runtime` |
 
 This location can be overridden via the `HELIX_RUNTIME` environment variable.
diff --git a/book/src/install.md b/book/src/install.md
index 497dd0a4..d7a51ac2 100644
--- a/book/src/install.md
+++ b/book/src/install.md
@@ -66,8 +66,8 @@ via the `HELIX_RUNTIME` environment variable.
 
 | OS                | command   |
 |-------------------|-----------|
-|windows(cmd.exe)   |`xcopy /e runtime %AppData%/helix/runtime`     |
-|windows(powershell)|`xcopy /e runtime $Env:AppData\helix\runtime`  |
+|windows(cmd.exe)   |`xcopy /e /i runtime %AppData%/helix/runtime`     |
+|windows(powershell)|`xcopy /e /i runtime $Env:AppData\helix\runtime`  |
 |linux/macos        |`ln -s $PWD/runtime ~/.config/helix/runtime`|
 
 ## Finishing up the installation