0

I installed gvim 8.0 on Windows 10. And I find that there's no item about vim in the list of environment variables. Look at the pictures below. But I can still run "vim" and "gvim" in cmd and powershell without entering the Fully Qualified Name of vim or gvim. Why can I do this? How does Windows know where to find vim.exe and launch it?

enter image description here

enter image description here

0

1 Answer 1

1

I get the answer! When I installed gvim80.exe, it created several *.bat files(such as vim.bat, gvim.bat ...) in C:\Windows. Since C:\Windows is in the list of PATH, I can run vim without its FQN.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.