Start-Process -FilePath 'C:/Program Files (x86)/Vim/vim82/vim.exe' -wait -ArgumentList ('"S:\testConcToUTF2\b Ansi copied.txt"', '-c set fileencoding=utf-8')
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!"' )
$argRead = '"e ' + $filename + '"'
$argwrite = '"w! ' + $tmpFilepath + '"'
Start-Process -FilePath $vimPath -wait -WindowStyle Hidden -ArgumentList ( `
'-c', '"set noswapfile"', '-c', $argRead, `
'-c', '"set fileencoding=utf-8"', '-c', '"set bomb"',
`
'-c', $argwrite, '-c', '"q!"' )