On Saturday, 10 November 2012 19:11:13 UTC, v0lt  wrote:
> Hi
> 
> I'm using Vim 7.3 with Windows 7 64bit
> I have a problem - I would like to edit files in 
> "program files" and "windows" directories - it requires admin rights due to 
> UAC.
> Ok, I right-click on Vim icon and select "run as administrator", select a 
> file and edit. Everything works fine.
> 
> Bu this is really annoying so I've checked "Run as administrator" in program 
> options.
> Now, if I select a file and click "Edit with Vim" message box appears:
> "gvimext.dll error
> Error creating process: Check if gvim is in your path!"
> 
> Running gvim alone comes with no error as above.
> 
> If I uncheck "Run as administrator" everything works - with context menu too.
> But I cant edit files that require admin rights - opening vim stand-alone in 
> admin mode and searching the file is not a solution.
> 
> 
> Thanks

As a workaround you could try using a shortcut in the SendTo menu.

http://vim.wikia.com/wiki/Add_Vim_to_Windows_Send_To_menu

One of the problems with this is you don't get anything 
except the basic "open this file in vim" option.  This script
(http://www.vim.org/scripts/script.php?script_id=4214)
allows you to at least enter multiple files at once from SendTo,
if that's a problem for you.

Caveat: I've no experience with Windows 7 so it might not work.
(If you do try the script and it doesn't work I'd like to know.)

regards,
Geoff

-- 
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

Reply via email to