summaryrefslogtreecommitdiff
path: root/vimtutor.bat
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-01-26 22:22:55 +0100
committerBram Moolenaar <Bram@vim.org>2018-01-26 22:22:55 +0100
commit0cbcd949e15ad95171e5b33881d3a30f17073dda (patch)
treea2dfb584905493ae25a8bf99d770322514bdcdc9 /vimtutor.bat
parent4aad53c36998c77ee119c6a46d002460876c2cbb (diff)
downloadvim-git-0cbcd949e15ad95171e5b33881d3a30f17073dda.tar.gz
patch 8.0.1431: MS-Windows: vimtutor fails if %TMP% has special charsv8.0.1431
Problem: MS-Windows: vimtutor fails if %TMP% has special chars. Solution: Add quotes. (Tamce, closes #2561)
Diffstat (limited to 'vimtutor.bat')
-rw-r--r--vimtutor.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/vimtutor.bat b/vimtutor.bat
index a670b0e31..0cab3c3bb 100644
--- a/vimtutor.bat
+++ b/vimtutor.bat
@@ -10,7 +10,7 @@
:: When that also fails, it uses the English version.
:: Use Vim to copy the tutor, it knows the value of $VIMRUNTIME
-FOR %%d in (. %TMP% %TEMP%) DO IF EXIST %%d\nul SET TUTORCOPY=%%d\$tutor$
+FOR %%d in (. "%TMP%" "%TEMP%") DO IF EXIST %%d\nul SET TUTORCOPY=%%d\$tutor$
SET xx=%1