1
0
forked from aniani/vim

patch 8.2.0850: MS-Windows: exepath() works different from cmd.exe

Problem:    MS-Windows: exepath() works different from cmd.exe.
Solution:   Make exepath() work better on MS-Windows. (closes #6115)
This commit is contained in:
Bram Moolenaar
2020-05-30 18:37:55 +02:00
parent 041c7107f2
commit 95da136142
4 changed files with 213 additions and 106 deletions

View File

@@ -4034,7 +4034,7 @@ executable({expr}) *executable()*
On MS-Windows the ".exe", ".bat", etc. can optionally be
included. Then the extensions in $PATHEXT are tried. Thus if
"foo.exe" does not exist, "foo.exe.bat" can be found. If
$PATHEXT is not set then ".exe;.com;.bat;.cmd" is used. A dot
$PATHEXT is not set then ".com;.exe;.bat;.cmd" is used. A dot
by itself can be used in $PATHEXT to try using the name
without an extension. When 'shell' looks like a Unix shell,
then the name is also tried without adding an extension.