Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

498.Text file parser -- How to batch extract ascii text from multiple binary files, such as exe files?

User: editor -- 2010-05-05          << 497  499 >>
Hits: 648
Type: Text file parser   
Search all Text file parser examples
Description:
How to batch extract ascii text from multiple binary files, such as exe files?
I have many exe files, and I want to extract the readable ascii text information like versions from each of files, and save the strings to txt files.
I can do it in linux with command strings, how can I do it with Replace Pioneer on windows?
Input Sample:
Binary Files like:
file1.exe
file2.exe
file3.exe
file4.exe
...
Output Sample:
Extract Ascii text from it:
file1.txt
file2.txt
file3.txt
file4.txt
...
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open 'Tools->Batch Runner' window
2. drag all binary/exe files from windows file browser to 'Batch Runner' window.
3. check option of "set output filename", change the following entry to:

check the output file column will be file1.txt, file2.txt, ...
4. click 'Fast Replace' button open 'Fast Replace' window.
(1) click "Add" button
* in "search" entry, fill:

* in "replace" entry, fill:

* click "OK"
(2)check option of "Regular Exp", "Binary" and "Cross Line"
(3)click "Start" button, all ascii strings inside the exe file will be extracted and saved to txt files.

Screenshot 1:  Batch_Runner_Window


Screenshot 2:  Fast_Replace_Window


Similar Examples:
How to extract and join text from multiple files with user defined format? (63%)
How to extract specified lines in multiple excel(csv) files? (61%)
How to extract the last non-blank line from multiple text files? (56%)
How to extract all text enclosed by H1 tag from multiple html files? (56%)
How to batch decode multiple files that were base64 encoded? (56%)
How to extract all http links from multiple web sites in one time? (55%)
How to search and replace with multiple mapping rules by regular expression? (55%)
How to batch rename text files by adding the value of file content to filename? (55%)

Check Demo of Text file parser
Keywords:
asci  inside  command  strings  extracte  binary file  binary fil  binary  bina  cross line  extract text from binary  extract text from binary file  exe ascii extract  extract text from ascii file  extract readable text from binary file  exe readable ascii  text extract binary  extract ascii from text