import binary exe

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

import binary exe

Post by kpassaur » Mon Mar 07, 2011 10:01 am

I was looking for help with the import binary file option and could not really find any. Is it possible to import an exe and then how do you access it?

What I would like to do is import a couple of exes and one .sys file and have a way to access them, even if I have to somehow recreate them (put back in their origional form - Export them)

My goal it to have three files (two exes and one sys file) only available when a compiled script is running. If it is not running I don't want a trace of them on the machine. Any ideas?

adroege
Automation Wizard
Posts: 438
Joined: Tue Dec 07, 2004 7:39 pm

Post by adroege » Mon Mar 07, 2011 11:58 am

Quoted from the help file
ExportData>Data_Label,Filename

Exports binary data from the script to the specified file. Use this in conjunction with Tools/Import Binary File in the editor. This allows you to include binary files in your scripts and export them for use at run time.

Abbreviation: EXP

Example
ExportData>CALC.DLL_DATA,%SCRIPT_DIR%\calc.dll

CALC.DLL_DATA:
4D5A50000200000004000F00FFFF0000B80000000000000...

kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

thanks

Post by kpassaur » Mon Mar 07, 2011 12:03 pm

Thanks, I must have been searching for the wrong thing in the help file.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts