Jump to content

Recommended Posts

I think you will find FileRead to protects it self when reading binary data, witch it is not supposed to do, as I understand it. I think you would have to wrap (or find a udf wrapping) some of the native File APIs to get your sample working? The helpfile also says something about appending chr(10) if you want String to return a BinaryString?

Link to post
Share on other sites
  • Moderators

Have you tried to use Hex first?

$a = Hex(BinaryString(FileRead('VideoConverterPro.exe')))
FileWrite('VideoConv.exe',BinaryString('0x' & $c))

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...