On 2019-03-26, Christian Brabandt wrote:
> On Di, 26 Mär 2019, Gary Johnson wrote:
>
> > On 2019-03-26, Charles Cooper wrote:
> > > > ... neither of the following work:
> > > > :echo expand("$PATH")
> > > This works for me now as it has in the past, using a gvim compiled with
> > > MSVC. Could there be a difference if compiled with gcc?
> >
> > This works for me, too, using the latest Windows gvim that I had on
> > hand, 8.1.1006, installed from
> > https://github.com/vim/vim-win32-installer/releases and run as
> >
> > gvim -N -u NONE -i NONE
> >
> > on a Windows 10 system.
>
> I just installed a clean vim from
> https://github.com/vim/vim-win32-installer/releases/tag/v8.1.1052 (using
> the 64 bit installer).
I just installed that version from your URL above and ran the
64-bit installer. Tested using the gvim instance that pops up when
you tell the installer to show the README.txt. Same results:
echo expand("$PATH") works fine. Also tried single-quotes.
> running
>
> gvim.exe --clean -c ":echo expand('$PATH')" returns just '$PATH'
>
> could that be any shell settings?
>
> ,----
> | shell=C:\WINDOWS\system32\cmd.exe
> | shellcmdflag=/c
> | shellpipe=>%s 2>&1
> | shellquote=
> | shellredir=>%s 2>&1
> | noshellslash
> | shelltemp
> | Last set from c:\Program Files\Vim\vim81\defaults.vim line 26
> `----
I don't see any difference between those settings and mine.
Is a puzzlement.
Regards,
Gary
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.