SinoAlpha Posted September 14, 2007 Share Posted September 14, 2007 (edited) As the title. I want to read a file as binary, if i use "fileread ( "filename", 1)", au3 will read the file char by char. How can i get the file bit by bit...thx Edited September 16, 2007 by SinoAlpha Sino-Alpha Link to comment Share on other sites More sharing options...
Sardith Posted September 14, 2007 Share Posted September 14, 2007 ;FileOpen ( "filename", mode) ;16 = Force binary(byte) reading and writing mode with FileRead and FileWrite $File = FileOpen("FILE", 16) FileRead($File) Not sure if this is what you want.. [font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font] Link to comment Share on other sites More sharing options...
SinoAlpha Posted September 14, 2007 Author Share Posted September 14, 2007 i have seen this before "$File = FileOpen("FILE", 16)" but i always have the "@error = 1", i can't open it in mode 16 Sino-Alpha Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now