Command Line

Home Topic  Previous Topic  Next Topic  Print this Topic

 

Examine32/Examine64 Text Search can make use of the command line to run a search parameter file. These files can be produced using any of the search dialog boxes using the 'save' button. If you wish you can send your search results to an output file. However if you do this then your results will not be displayed in a Search Window.

 

The general format for the command line is

 

examine.exe <command line switches> search parameter file <output file>

 

or if you wish to use the 'start' command

 

start "" examine.exe <command line switches> search parameter file <output file>

 

For example

 

examine.exe -dh "c:\my documents\search files\search.exa"

"c:\program files\Examine64 Text Search - evaluation version\examine.exe" search.exa

"c:\program files\Examine64 Text Search 6\examine.exe" search.exa

examine.exe -dh search.exa results.txt

start "" examine.exe -dh "c:\my documents\search files\search.exa"

 

In the above examples replace "Examine64" with "Examine32" if Examine32 is installed on your system.

 

The command line switches are

 

-d[h,s]

h, don't display search dialog box before starting search

s (default), show search dialog box

 

-o[l,r,u,x]

l (default), output results to file in log format (plain text - ANSI format)

r, output results to file in Rich Text Format (rtf)

u, output results to file in log format (plain text - unicode format)

x, output results to file in XML (examl) format

 

-q

quit the program immediately after the search is completed.

 

This option should be used with care. Once the program has closed any pending commands will be discarded.