This Total Commander Content plugin allows to perform full-text search in any documents, which have command line converters to the plain-text form.
To use this plugin, call Total Commander's search dialog (Alt+F7) and activate plugin there on Plugins tab, as shown on picture:
Currently included converters are:
IFILTER=Conv\IFilter\GetTextIFilter.exe -s "{In}" -d "{Out}" -l
RTF=IFILTER
DOC=IFILTER
DOT=IFILTER
PPT=IFILTER
XLS=IFILTER
CS=IFILTER
CPP=IFILTER
H=IFILTER
TXT=IFILTER
HTM=IFILTER
HTML=IFILTER
FB2=wscript.exe /B /NoLogo "C:\Program Files\FB2 to Any\fb2txt_commandline.vbs" "{In}" "{Out}"
DJVU=Path\DjVuLibre\djvutxt.exe "{In}" "{Out}" {CP:UTF8}
DJV=DJVU
XDOC=%COMSPEC% /CCONV\XDOC\XDOC2TXT.EXE "{In}">"{Out}"
sxw=XDOC
sxc=XDOC
sxi=XDOC
sxd=XDOC
odt=XDOC
ods=XDOC
odp=XDOC
odg=XDOC
docx=XDOC
docm=XDOC
xlsx=XDOC
xlsm=XDOC
pptx=XDOC
pptm=XDOC
doc=XDOC
xls=XDOC
ppt=XDOC
rtf=XDOC
jaw=XDOC
jtw=XDOC
jbw=XDOC
juw=XDOC
jfw=XDOC
jvw=XDOC
jtd=XDOC
jtt=XDOC
oas=XDOC
oa2=XDOC
oa3=XDOC
bun=XDOC
wj2=XDOC
wj3=XDOC
wk3=XDOC
wk4=XDOC
123=XDOC
wri=XDOC
pdf=XDOC
mht=XDOC
html=XDOC
eml=XDOC
Plugin configuration file is TextSearch.ini, located in the plugin folder. If it doesn't exist, TextSearch.Sample.ini is copied to TextSearch.ini on execution.
| Options | Meaning |
|---|---|
| Log | If set to 1, then TextSearch.log file will be created in the %TEMP% folder, containing error messages about converters execution. |
| ShowErrors | If set to 0, no error messages will be displayed. To see errors occured you still can use the Log option. |
EXTENSION=Path\Converter.exe Parametersor
EXTENSION=ANOTHER_EXTENSIONConverter path can be written without plugin folder path (plugin folder set as current on converter execution).
| Macros | Meaning |
|---|---|
| {In} | Expanded to full path of the source file. Should be double-quoted. |
| {Out} | Expanded to full path of the resulting temporary text file. Should be double-quoted. |
| {InShort} | Expanded to short (8.3) path of the source file. |
| {OutShort} | Expanded to short (8.3) path of the resulting file. |
| Commands | Meaning |
| {CP:Codepage} | Specifies that resulting file should be decoded from some "codepage" to the ANSI.
Allowed values of Codepage are (self-descriptioned):
|
| {Home:Path} | Specifies the "home directory" of the converter process, Path value. Can be set e.g. to the converter application path if converter doesn't support running from non-application folder. |
[Converters]
RTF={CP:RTF}
LOG={CP:UTF8}
To perform multiple codepages search, write several {CP:Codepage} commands to the corresponding converter line, for example:
[Converters]
LOG={CP:ANSI} {CP:UTF16}
To perform multiple codepages search in all files specify the "*" extension, for example:
[Converters]
*={CP:ANSI} {CP:OEM} {CP:UTF8} {CP:UTF16}
Note that the "*" converter has the lower priority,
so if for example both "*" and "PDF" converters are specified,
all PDF files will be searched using "PDF" converter and other files will be searched using "*" converter.