Jump to content
Sign in to follow this  

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

Recommended Posts


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:

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

$testread = FileRead($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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.