Sign in to follow this  
Followers 0
Helomotorola

FileOpen($File) Not Read with file *.exe, *.dll, ...?

2 posts in this topic

I can't use FileOpen($File) to open file *.exe

If Readable then only tittle???

Please help me

Thank much

Share this post


Link to post
Share on other sites



Try opening them with binary reading mode (check out the help). You should keep in mind that MsgBox() can't show special characters, so you have to check success with filewrite. Here's an example code:

CODE
$test = FileOpen( "test.exe", 16 )

$testread = FileRead($test)

FileClose($test)

FileWrite( "tested.exe", $testread )

Share this post


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
Sign in to follow this  
Followers 0