On Fri 16-Feb-07 11:13am -0600, [EMAIL PROTECTED] wrote:

> Can anyone assist me with getting vimdiff to work on a PC with
> Microsoft Windows XP? I have GVIM version 6.2.
>
> When trying to vimdiff 2 files I get:   E 97: Cannot create diffs.
>
> I have looked through :help, found *E97*, and am not sure how to
> proceed, but have tried to check the "shell" via:
>
> :!sort
>
> Typing this on the command line of a file causes a new MS-Dos
> command window (titled vimrun.exe) to open with the following message:
>
> C:\Windows\System32\cmd.exe   /c   sort
>
> which is presumably not what is supposed to happen. (Note that I
> can get sorting on the current open file by means of  :%!sort  as shown
> on my vi reference mug. :-) )

First, you've got a rather old version of 6 - the most
recent is, I believe, 6.4.10.  You really should get the
most recent - 7.0.195 - there are many new useful features.

The behavior of :!sort is normal.  With no input or output
specified, it waits for you to type something.  Here's a
brief dialog (using XP's cmd and the MS sort):

    c:\windows\system32\cmd.exe /c sort
    xxx
    aaa
    ^Z
    aaa
    xxx
    Hit any key to close this window...

I don't believe version 6.x installs diff.exe in $vim or
looks for it there if it can't find it in your path
(version 7 does).  If you choose to continue to use 6.2,
download a copy and place it in your path.

-- 
Best regards,
Bill

Reply via email to