Monday, August 3, 2020

Re: Registration of Vim executable on Windows

On Mo, 03 Aug 2020, Anton Shepelev wrote:

> Hello, all
>
> How are the Vim executables regitered on Windows so that
> they are always available from the command prompt even
> though no environment variable seems to contain their path? On
> my PC, for example, Vim's executables are installed at
>
> C:\Program Files\Vim\vim80
>
> but
>
> set | grep vim
>
> does show anything. How does Windows locate vim.exe,
> gvim.exe when I invoke them from the command line?

This is done using the %PATH% environment variable, see e.g. the
wikipedia article: https://en.wikipedia.org/wiki/PATH_(variable)

Best,
Christian
--
Toni fällt in den See wird aber gerettet. Der Retter fragt ihn:
"Warum bist du denn nicht geschwommen?" Toni: "Aber da steht doch ein
Schild - Schwimmen Verboten!"

--
--
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/20200803121257.GD4701%40256bit.org.

No comments:

Post a Comment