On 08/11/10 21:52, Ben Fritz wrote:
I am unable to use the xxd utility in Vim 7.3.35 on Windows XP
(installed via the "Cream without Vim" installer). Reinstalling does
not help. Rolling back to version 7.3.27 works fine.

From :help win32-PATH:

The directory of the Vim executable is appended to $PATH.  This is
mostly to
make "!xxd' work, as it is in the Tools menu.  And it also means that
when
executable() returns 1 the executable can actually be executed.

In Vim 7.3.35, :echo $PATH does not include the Vim install directory.
It does include this directory in Vim 7.3.27.

I remember there were modifications of how Vim works with the system
PATH back in version 7.3.34, perhaps that is where the error was
introduced.


well, you can do any of the following (assuming that, when Vim is running, $VIMRUNTIME resolves to C:\Program Files\vim\vim73):

a) Find where your environment variables are defined (when I was on XP, it used to be somewhere under "My Computer => System => Advanced" IIRC) and add C:\Program Files\vim\vim73 to the PATH (which is a semicolon-separated list), or

b) do

path "%PATH%;C:\Program Files\vim\vim73"

at any point before starting Vim, so that it inherits it from the shell, or

c) add

if !has('unix') && stridx($PATH, $VIMRUNTIME) == -1
        let $PATH .= ($PATH == ""? "" : ";") . $VIMRUNTIME
endif

somewhere near the top of your vimrc.


Best regards,
Tony.
--
Unnamed Law:
        If it happens, it must be possible.

--
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui