diff vimtutor.bat @ 25812:79aaaa134298 v8.2.3441

patch 8.2.3441: MS-Windows: vimtutor can't handle path with spaces Commit: https://github.com/vim/vim/commit/ee2cbcd99c54d7c4a3ccfaf0cd5ddeb1369a844e Author: Christian Brabandt <cb@256bit.org> Date: Wed Sep 15 12:53:40 2021 +0200 patch 8.2.3441: MS-Windows: vimtutor can't handle path with spaces Problem: MS-Windows: vimtutor can't handle path with spaces. Solution: Add double quotes. (Christian Brabandt, closes https://github.com/vim/vim/issues/8871)
author Bram Moolenaar <Bram@vim.org>
date Wed, 15 Sep 2021 13:00:06 +0200
parents d4faa2c5211b
children
line wrap: on
line diff
--- a/vimtutor.bat
+++ b/vimtutor.bat
@@ -11,7 +11,7 @@
 
 :: Use Vim to copy the tutor, it knows the value of $VIMRUNTIME
 FOR %%d in (. %TMP% %TEMP%) DO (
-    call :test_dir_writable %~dpf0 %%d
+    call :test_dir_writable "%~dpf0" %%d
     IF NOT ERRORLEVEL 1 GOTO dir_ok
 )