Thursday, June 12, 2014

Re: vimdiff noob question

On Wed, Jun 11, 2014 at 11:04 PM, wolfv <wolfvolpi@gmail.com> wrote:
> On Wednesday, June 11, 2014 10:02:12 PM UTC-6, wolfv wrote:
>> On Wednesday, June 11, 2014 9:24:29 PM UTC-6, Ben Fritz wrote:
>> > On Wednesday, June 11, 2014 5:29:07 PM UTC-5, wolfv wrote:
>> > > > Can you use vimdiff, from C:\Users\wolf\Documents (rather than My Documents)?
>> > >
>> > > I am using Windows 7.
>> > > From Command Prompt:
>> > > C:\Users\wolf\Documents>vim -d a.txt b.txt
>> > > This pops up:
>> > > C:\PROGRA~2\Vim\vim74\vim.exe is not a valid Win32 application.
>> > > I click "OK" and Command Prompt says:
>> > > Access is denied.
>> >
>> > Yeah that's probably a different problem. You can try running vim.exe in compatibility mode.
>> >
>> > Does "gvim -d a.txt b.txt" work from that directory? How about "gvimdiff a.txt b.txt"?
>>
>> Yes, that works (screen shot attached).
>> So it was the just the fake "My Documents" directory the whole time.
>>
>> I vaguely remember when I first got Windows 7, I renamed "My Documents" to "Documents", then later Windows automatically changed it back to "My Documents", and I left it that way.
>>
>> Thank you for sticking with me through so much trouble shooting. Your help is is much appreciated.
>
> both "gvim -d a.txt b.txt" and "gvimdiff a.txt b.txt" work from Documents:
> C:\Users\wolf\Documents>gvim -d a.txt b.txt
>
> C:\Users\wolf\Documents>gvimdiff a.txt b.txt
>

Great!

So, are you happy using just gvim? Or do you still want help getting
vim.exe running? You may want to create a new thread for that if you
do, I'm not sure how to go about fixing that one. I had a similar
problem, which went away on its own when I gained admin rights:

http://stackoverflow.com/q/23478373/1390430

But looking at the error text now, it differs from the one you're
getting, so perhaps it is a completely different issue.

--
--
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.
For more options, visit https://groups.google.com/d/optout.

No comments: