I have a file with .SYS extension and it is binary data
How can I convert it to text format

I tried using BinaryDataToText, but the output is not the expected one (not in text format, but a junk one)

If I'm using the wrong encoding , what should be the right one

Or can I get some help in doing it, should we be incorporating a .net code here ?

Hi Sabarish ravindran,

Do you want to read the information in that file ??

The function you used will convert the binary data into encoded text( ANSI encoding) format and not read the data within it. 

Please check the details in the link below

BinaryData API

Also .sys files  (in Windows) are kernel drivers and I don't think you can read this file.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.