On 15/04/10 15:53, Jean Johner wrote:
Hello,
I appreciate the vim  ":w ++ff=dos" command to translate unix to dos
file format.
Now, I have to do that in a NT .bat. Presently, I use:
vim -u NONE "-c :w ++ff=dos dosfile" -c :q unixfile
It works fine but I am wondering if there is a pure NT script solution
to this problem (without opening vim).

Although it is not strictly a vim question, perhaps some programmer
among you could help me.

Best regards

Jean Johner


You might try to find the appropriate utility on, for instance, GnuWin32 http://sourceforge.net/projects/gnuwin32/ http://sourceforge.net/projects/getgnuwin32/

What's the program name again? unix2dos I think; and it should run "natively" from a cmd.exe prompt.

But why install "special" unix2dos (and dos2unix) binaries when you already have Vim?


Best regards,
Tony.
--
According to the obituary notices, a mean and unimportant person never
dies.

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to