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: 4977
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 batch extract html title from files and link to the file? (64%)
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 last 100 lines from multiple files? (56%)
How to search/replace multiple text files base on rules from csv file? (56%)
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%)

Check Demo of Text file parser
Keywords:
extract ascii  extract ascii text  asci  ascii  formation  inside  command  extracte  strings  binary file  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