[Little challenge]Converting text file with unknown encoding into ANSI
Posted: 05 Nov 2016 01:55
Information about the system the file and scripts are tested on:
Thread Description:
I'm hoping that someone can give me a helping hand, I've got tired.
Code: Select all
INFO.BAT version 1.3
--------------------------------------------------------------------------------
Windows version : Microsoft Windows [Version 10.0.14393]
Product name : Windows 10 Home, 64 bit
Performance indicators : Processor Cores: 6 Visible RAM: 8386100 kilobytes
Date/Time format : (yy/mm/dd) 2016-11-06 12:11:41,44
__APPDIR__ : C:\WINDOWS\system32\
ComSpec : C:\WINDOWS\system32\cmd.exe
PathExt : .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
Extensions : system: Enabled user: Enabled
Delayed expansion : system: Disabled user: Disabled
Locale name : lt-LT Code Pages: OEM 775 ANSI 1257
DIR format : 2016-11-05 16:07 1 342 177 280 pagefile.sys
Permissions : Elevated Admin=No, Admin group=Yes
Missing from the tool collection: debug
Thread Description:
BoQsc wrote:I wasted a lot of time today figuring it out, but couldn't make this text file appear as ANSI without losing the content in it.
________________________________________________
Merged_registry.reg
[Download]
This is file that is encoded in unknown text format
________________________________________________
Ps. I need it to be done in the batch script.
I'm hoping that someone can give me a helping hand, I've got tired.