Link to home
Start Free TrialLog in
Avatar of Jasmine Sandlas
Jasmine SandlasFlag for Oman

asked on

Source file is "ANSI" in a srcfiles folder, need to get this converted to "UTF8" through Windows batch script. Experts Please help

Source file is "ANSI" in a srcfiles folder, need to get this converted to "UTF8" through Windows batch script. Experts Please help.
I cant use any tool for it. Please help
Avatar of Bill Prew
Bill Prew

Should be able to do this using Powershell, try:

Get-Content "filein.txt" -Encoding Oem | Out-File "fileout.txt" -Encoding utf8

Open in new window


»bp
Avatar of Jasmine Sandlas

ASKER

tried with the same command but getting an error for GET command "Get is not recognised as an Internal and External command"
ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks so much mate.. that worked  awesome