> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Dalfa Zen
> Sent: Friday, September 25, 2009 12:00 AM
> To: vim_dev
> Subject: Bug: found a little bug when install in freedos
> 
> 
> 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 :)

That looks like a bug in FreeDOS, not in vim.bat.

The quotes are needed in case the environment variables contain spaces.


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui