Search parameter file format

Home Topic     Print this Topic

 

The search parameter file format is a text file containing the search parameters in the following manner

 

<Text parameter>=value

or

<Numeric parameter>=value

 

If the search parameter file is created by Examine32/Examine64 Text Search then it will contain all the necessary information to repeat the search but if you wish to create your own files then any missing search parameters will take the value last used by the program. For example the file

 

Examine32

Version=100

SearchType=1

 

will produce the last logical search carried out by the program.

 

All search parameter files must start with

 

Examine32

Version=100

 

The program itself then lists the parameters in the following order, but if you are producing your own files the order is not significant.

 

Search=Search string

 

DirSpec=Search folder

 

FileSpec=File specification

 

ZIPSpec=Zip file specification

 

SubDir=1 or 0        (1 = Search subfolders)

 

MatchCase=1 or 0        (1 = Match case)

 

Expression=1 or 0        (1 = use regular expressions)

 

WholeWords=1 or 0        (1 = Whole words)

 

ZIPSearch=1 or 0        (1 = Search ZIP files)

 

ListAll=1 or 0        (1 = List every file searched)

 

BinaryUnicode=1 or 0 (1 = Text is unicode for searching binary files)

 

Formats=numerical value

bit 0 set for Microsoft Write

 

bit 1 set for Rich Text Format (RTF)

 

bit 2 set for HTML (web pages)

 

bit 3 set for Word/Excel/PowerPoint

 

bit 4 set for Wordperfect

 

bit 5 set for PDF (Acrobat)

 

bit 6 set for XML

 

bit 7 set for OpenOffice/StarOffice

 

LookIn=numerical value

bit 0 set for Headers/Footers

 

bit 1 set for Footnotes/Endnotes

 

bit 2 set for Comments/Hidden text

 

bit 3 set for Deleted text

 

bit 8 set for Hidden files

 

bit 9 set for System files

 

ShowMatches=1 or 0        (1 = Show every match found)

 

FileDateType=numerical value

0 = Modified Date

 

1 = Created Date

 

FileDateAction=numerical value

0 = Ignore

 

1 = Before

 

2 = After

 

3 = Last

 

4 = From

 

FileDateBeforeDay=numerical value

 

FileDateBeforeMonth=numerical value

 

FileDateBeforeYear= numerical value

 

FileDateAfterDay=numerical value

 

FileDateAfterMonth=numerical value

 

FileDateAfterYear= numerical value

 

FileDatePeriod=numerical value

 

FileDatePeriodType=numerical value

0=Days

 

1=Weeks

 

2=Months

 

3=Years

 

4=Hours

 

FileDateFromDay=numerical value

 

FileDateFromMonth=numerical value

 

FileDateFromYear= numerical value

 

FileDateToDay=numerical value

 

FileDateToMonth=numerical value

 

FileDateToYear= numerical value

 

FileDateFromFile=1 or 0   (1 = Get date from file not disk)

 

SortType=numerical value

0=Unsorted


5=Path name


6=File name


7=File type


10=Last Modified


15=Number of matches


20=File size

 

SortAscending=1 or 0      (1 = Sort is ascending)

 

For logical searches the following parameters will be saved

 

Strings=number of strings used in the search. The maximum value for this is four.

 

Search=first logical string

 

Logical1=’second logical string

 

Logical2=’third logical string

 

Logical3=’fourth logical string

 

Boolean1=first logical value

0 = OR

 

1 = AND

 

2 = NOT

 

3 = XOR

 

Boolean2=second logical value

 

Boolean3=third logical value

 

Proximity1=first proximity value

 

Proximity2=second proximity value

 

Proximity3=third proximity value

 

ProxType1=first proximity type value

0 = whole file

 

1 = lines

 

2 = characters

 

3 = words

 

ProxType2=second proximity type value

 

ProxType3=third proximity type value

 

InOrder=1 or 0        (1 = Text fields in order)

 

 

For searches where the files and folders have been selected using Windows Explorer, either using the context menu or by dragging and dropping, the following parameters will be saved

 

Folder=a folder to be searched

 

File=a file to be searched