Monday, August 3, 2020

Re: Registration of Vim executable on Windows

On Mo, 03 Aug 2020, Anton Shepelev wrote:

> Tony Mechelynck to Anton Shepelev:
>
> > > On my PC, for example, Vim's executables are installed
> > > at
> > >
> > > C:\Program Files\Vim\vim80
> > >
> > > but
> > >
> > > set | grep vim
> > >
> > > does [not] show anything.
> >
> > At the command prompt,
> > echo %PATH%
> >
> > should display a list of directories, one of which
> > contains the Vim executables.

You can also use the path command

>
> The `set' command, invoked without parameters, lists all the
> available environment variables with their values, so my
> command `set | grep vim' should have found `vim' too. Here
> is my complete output of `echo %PATH%':
>
> C:\MinGW\bin\
> D:\PROGRAMS\TCC\
> C:\WINDOWS\system32
> C:\WINDOWS
> C:\WINDOWS\System32\Wbem
> D:\BIN\
> D:\PROGRAMS\GRAPHVIZ\bin\
> C:\Program Files\gs\gs9.10\lib\
> C:\Program Files\gs\gs9.10\bin\
> D:\PROGRAMS\FPC\bin\i386-Win32
> C:\Program Files\GtkSharp\2.12\bin
> C:\Program Files\Subversion\bin
> C:\Program Files\Pandoc\
>
> and the only instance of gvim.exe on my entire PC is:
>
> C:\Program Files\Vim\vim80\gvim.exe
>
> Yet I can start gvim from the command line in any
> directory...

You can or you cannot? I believe the vim installer adds a vim.bat or
gvim.bat file to C:\windows\system32

Best,
Christian
--
Barmen (V.)
Beschreibt den Versuch eines Betrunkenen, sich bei jemandem lieb Kind
zu machen.
-- Douglas Adams, John Lloyd, Sven Böttcher ("Der tiefere Sinn des Labenz")

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20200803175007.GE4701%40256bit.org.

No comments: