Dalfa Zen wrote:
> Hello everyone, > I don't know if this has already been done > > I use "vim72d32.zip" to install vim in my freedos. > When finish install, back to the root C:\ run "C:\> vim" > But it can't work, the Command-line display this "c:\vim72\vim.exe > not found". > Then I look at c:\fdos\bin\vim.bat, I found some mistakes. > > I think this 4 lines is wrong in the vim.bat : > line 5: if exist "%VIM%\vim72\vim.exe" set VIM_EXE_DIR=%VIM%\vim72 > line 6: if exist "%VIMRUNTIME%\vim.exe" set VIM_EXE_DIR=%VIMRUNTIME > % > line 8: if exist "%VIM_EXE_DIR%\vim.exe" goto havevim > line 9: echo "%VIM_EXE_DIR%\vim.exe" not found > > Change them into : > line 5: if exist %VIM%\vim72\vim.exe set VIM_EXE_DIR=%VIM%\vim72 > line 6: if exist %VIMRUNTIME%\vim.exe set VIM_EXE_DIR=%VIMRUNTIME% > line 8: if exist %VIM_EXE_DIR%\vim.exe goto havevim > line 9: echo %VIM_EXE_DIR%\vim.exe not found > > Just take out the quote. it works :) I haven't verified, but I think taking out the quotes breaks it for when Vim is installed below a directory that conains a space. I think the problem is with the freedos batch program. -- Women are probably the main cause of free software starvation. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
