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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user