2009/9/15 A. S. Budden <[email protected]>: > > 2009/9/15 stone <[email protected]>: > >> E605: Exception not caught: Cannot find file ctags.exe >> It looks like the program can not find the ctags.exe. But I am sure the exe >> file has been in C:\WINDOWS\system32.What happened? > > This is indeed very strange. The problem is coming from globpath( ) > as far as I can tell: it doesn't think that the file exists. Your > path looks correct (and in the right format for globpath), so it's > bizarre that it can't find ctags.exe. Please can you try the > following? > > :redir > logfile.txt > :let path = substitute($PATH, ';', ',', 'g') > :echo "Bare Path:" > :echo $PATH > :echo "Path:" > :echo path > :echo "Path Glob:" > :echo globpath(path, 'ctags.exe') > :echo "Winsys Glob:" > :echo globpath('c:\windows\system32', 'ctags.exe') > :echo "Path Glob for xcopy.exe:" > :echo globpath(path, 'xcopy.exe') > :echo "Winsys Glob for xcopy.exe:" > :echo globpath('c:\windows\system32', 'xcopy.exe') > :echo "Readable?" > :echo filereadable('c:\windows\system32\ctags.exe') > :redir END > > Sorry for the tedious entry: as an alternative, save all of that to a > file (e.g. c:\testfile.vim) without the leading colons and do: > > :source c:\testfile.vim
Removing the colons isn't necessary, so - for the purpose of easy copy-pasting of a one-off script - I would just leave them in c:\testfile.vim ~Matt --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
