For example, if my path is:C:\Program Files (x86)\VimAnd I want it to be:C:\Users\~\Documents\VimHow do I do that so I will still be able to call gvim on CMD, for example?
I want to change where the Vim folder is located
microsoft windows;installing
The best way to do this is, as @Carpetsmoker noted in the comments, to simply uninstall gVim and reinstall it, selecting the desired installation directory. Depending on your installation options, gVim may have made some registry modifications to establish file associations when initially installed. For example, the Edit with Vim context menu option for explorer is a key under HKEY_CLASSES_ROOT/*/shell/Vim/Command with a value of C:\Program Files (x86)\vim\vim74\gvim.exe %1. Uninstalling and re-installing will ensure these keys have correct values. You can, of course, simply move the entire C:\Program Files (x86)\Vim folder somewhere else. If you do this, you'll have to at least fix up your %PATH% environment variable to include the new location, or gvim won't work. You'll also have to find and fix (or delete) any registry or similar associations you want to continue working or don't want to have any longer.Uninstalling and re-installing is definitely the ideal option here. It's way less work and will result in a much less broken installation.