Saturday, January 18, 2020

Re: automatization with powershell Start-Process

Thank you it worked

Here an example of the full command to convert encoding to UTF-8 with BOM

Start-Process -FilePath 'C:/Program Files (x86)/Vim/vim82/vim.exe' -wait -ArgumentList ('"S:\testConcToUTF2\b Ansi copied.txt"', '-c', '"set fileencoding=utf-8"', '-c', '"set bomb"', '-c', '"w S:/testConcToUTF2/b Ansi copied now UTF.txt"', '-c', '"q!"' )

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/cbc83990-fe51-42b4-b7f8-fded174466c7%40googlegroups.com.

No comments:

Post a Comment